266267268269270271272
final VirtualFile file = FileDocumentManager.getInstance().getFile(event.getDocument()); if (file == null) return; Document document = event.getDocument(); editorManager.beforeChange(new DocImpl(context, document)); }