def get_inline_documentation(view, position):

	if view.match_selector(position, "meta.property.constant"):
		word = view.word(position)
		dot_context = utils.get_dot_context(view, word.begin() - 1)
		if len(dot_context) == 1 and dot_context[0].name == "cgi":
			key = "cgi." + view.substr(word).lower()
			if key in cgi:
				doc = dict(DOC_STYLES)
				doc.update(cgi[key])
				return Documentation(doc, None, 1)

	return None
dataset/ETHPy150Open jcberquist/sublimetext-cfml/src/basecompletions/basecompletions.py/get_inline_documentation/original