void (@NotNull CaretEvent e) { EmmetPreviewHint existingHint = EmmetPreviewHint.getExistingHint(e.getEditor()); if (existingHint != null) { existingHint.updateText(new TemplateTextProducer(editor, file, expandPrimitiveAbbreviations)); } else { e.getEditor().getCaretModel().removeCaretListener(this); } }