@Override
      public void editorCreated(@NotNull EditorFactoryEvent event) {
        if (event.getEditor().getDocument() != myNewDocument) return;
        useCount++;
      }
@Override
      public void editorCreated(@NotNull EditorFactoryEvent event)