public static void moveCaretRelatively(@NotNull Editor editor, int caretShift) {
    CaretModel caretModel = editor.getCaretModel();
    caretModel.moveToOffset(caretModel.getOffset() + caretShift);
  }
public static void moveCaretRelatively(@NotNull Editor editor, int caretShift)