@Override
      protected void onEditorCreated(@NotNull Editor editor) {
        if (editor instanceof EditorEx) {
          ((EditorEx)editor).setRendererMode(true);
        }

        editor.getContentComponent().addFocusListener(new FocusAdapter() {
          @Override
          public void focusLost(FocusEvent e) {
            onFocusLost(e);
          }
        });
      }
@Override
      protected void onEditorCreated(@NotNull Editor editor)