@NotNull
  public static EditorEx createEditor(@NotNull Document document, @Nullable Project project, boolean isViewer) {
    return createEditor(document, project, isViewer, false);
  }
@NotNull
  public static EditorEx createEditor(@NotNull Document document, @Nullable Project project, boolean isViewer)