@NotNull
  protected static Editor createEditor(@Nullable Project project, @NotNull Document document) {
    return TemplateEditorUtil.createEditor(false, document, project);
  }
@NotNull
  protected static Editor createEditor(@Nullable Project project, @NotNull Document document)