public static @Nullable SelectionToCopy prepareSelectionToCut(@NotNull Editor editor) {
    return prepareSelectionToCopy(editor, false, false);
  }
public static @Nullable SelectionToCopy prepareSelectionToCut(@NotNull Editor editor)