@Override public void caretUpdate(CaretEvent e) {
            // if the user moves the cursor on the editor, the focus passes
            // automatically back to the editor (from the popup)
            if (isEnabled()) {
                popup.setPopupFocused(false);
                deactivateCustomDecoration();
            }
        }
@Override public void caretUpdate(CaretEvent e)