public static void moveAllCaretsRelatively(@NotNull Editor editor, int caretShift) {
    editor.getCaretModel().runForEachCaret(caret -> caret.moveToOffset(caret.getOffset() + caretShift));
  }
public static void moveAllCaretsRelatively(@NotNull Editor editor, int caretShift)