def get_tags(view, prefix, position, info):
	if (info["previous_char"] == "<"):
		completion_list = get_prefix_completions(info["project_name"])
		if completion_list:
			return completions.CompletionList(completion_list, 0, False)
	elif (info["previous_char"] == ":"):
		prefix = view.substr(view.word(info["prefix_start"] - 1))
		completion_list = get_tag_completions(info["project_name"], prefix)
		if completion_list:
			return completions.CompletionList(completion_list, 0, False)
	return None
dataset/ETHPy150Open jcberquist/sublimetext-cfml/src/custom_tags/__init__.py/get_tags/original