void (@NotNull DocumentEvent event) { // to handle backspace & delete (backspace strangely is not reported to the caret listener) handleInputFocusMovement(editor.getCaretModel().getLogicalPosition(), true); updateEditorInlays(); }