void (@NotNull Editor editor, Caret caret, DataContext dataContext) { PerEditorSearchData data = editor.getUserData(SEARCH_DATA_IN_EDITOR_VIEW_KEY); if (data == null || data.hint == null){ myOriginalHandler.execute(editor, caret, dataContext); } else{ LightweightHint hint = data.hint; PerHintSearchData hintData = hint.getUserData(SEARCH_DATA_IN_HINT_KEY); String text = hintData.label.getText(); if (!text.isEmpty()){ text = text.substring(0, text.length() - 1); } hintData.label.setText(text); updatePosition(editor, hintData, false, false); } }