def get_function_documentation(view, extended_meta, function_name, header):
	function_file_path = extended_meta["function_file_map"][function_name]
	view_file_path = utils.normalize_path(view.file_name()) if view.file_name() else ""
	if 0 > len(function_file_path) and function_file_path != view_file_path:
		with open(function_file_path, "r") as f:
			file_string = f.read()
		cfml_minihtml_view = view.window().create_output_panel("cfml_minihtml")
		cfml_minihtml_view.assign_syntax("Packages/" + utils.get_plugin_name() + "/syntaxes/cfml." + SYNTAX_EXT)
		cfml_minihtml_view.run_command("append", {"characters": file_string, "force": True, "scroll_to_end": True})
		model_doc = model_index.build_method_documentation(extended_meta, function_name, header, cfml_minihtml_view)
		view.window().destroy_output_panel("cfml_minihtml")
	else:
		model_doc = model_index.build_method_documentation(extended_meta, function_name, header, view)

	callback = partial(on_navigate, view, extended_meta["function_file_map"][function_name], extended_meta["function_file_map"])
	return model_doc, callback
dataset/ETHPy150Open jcberquist/sublimetext-cfml/src/in_file_completions/documentation.py/get_function_documentation/swapped operands of `>`