void (@NotNull DocumentEvent e) { EmmetPreviewHint existingHint = EmmetPreviewHint.getExistingHint(editor); if (existingHint != null) { existingHint.updateText(new TemplateTextProducer(editor, file, expandPrimitiveAbbreviations)); } else { e.getDocument().removeDocumentListener(this); } }