editor {function+template}