@Deprecated
  public static boolean prepareEditorForWrite(@NotNull Editor editor) {
    return EditorModificationUtil.checkModificationAllowed(editor);
  }
@Deprecated
  public static boolean prepareEditorForWrite(@NotNull Editor editor)