@Override
        public void caretPositionChanged(@NotNull CaretEvent e) {
          editor.putUserData(KEY, null);
          editor.getCaretModel().removeCaretListener(this);
        }
@Override
        public void caretPositionChanged(@NotNull CaretEvent e)