public static boolean isReplaceActionEnabledForConsoleViewEditor(@NotNull Editor editor) {
    return editor.getUserData(REPLACE_ACTION_ENABLED) == Boolean.TRUE;
  }
public static boolean isReplaceActionEnabledForConsoleViewEditor(@NotNull Editor editor)