@Override
      protected void onEditorAdded(@NotNull Editor editor) {
        super.onEditorAdded(editor);
        editor.getCaretModel().addCaretListener(new CaretListener() {

          @Override
          public void caretPositionChanged(@NotNull CaretEvent event) {
            final int offset = editor.logicalPositionToOffset(event.getNewPosition());
            highlightSampleGroup(offset, regExpFile);
          }
        }, disposable);
      }
@Override
      protected void onEditorAdded(@NotNull Editor editor)