default void removeSelection(boolean allCarets) {
    if (!allCarets) {
      getEditor().getCaretModel().getCurrentCaret().removeSelection();
    }
    else {
      for (Caret caret : getEditor().getCaretModel().getAllCarets()) {
        caret.removeSelection();
      }
    }
  }
default void removeSelection(boolean allCarets)