private void createActions() {
    myNextOccurrenceAction = new LargeFilePrevNextOccurrenceAction(this, true);
    myPrevOccurrenceAction = new LargeFilePrevNextOccurrenceAction(this, false);
    myFindAllAction = new LargeFileFindAllAction(this);
    myFindForwardAction = new FindForwardBackwardAction(true, this);
    myFindBackwardAction = new FindForwardBackwardAction(false, this);
    myToggleCaseSensitiveAction = new LargeFileToggleAction(this, EditorBundle.message("large.file.editor.match.case.action.mnemonic.text"));
    myToggleWholeWordsAction = new LargeFileToggleAction(this, EditorBundle.message("large.file.editor.words.action.mnemonic.text")) {
      @Override
      public void update(@NotNull AnActionEvent e) {
        boolean enabled = myToggleRegularExpression != null && !myToggleRegularExpression.isSelected(e);
        boolean visible = mySearchReplaceComponent == null || !mySearchReplaceComponent.isMultiline();
        e.getPresentation().setEnabled(enabled);
        e.getPresentation().setVisible(visible);
        setSelected(e, isSelected(e) && enabled && visible);
        super.update(e);
      }
    };
    myToggleRegularExpression = new LargeFileToggleAction(this, EditorBundle.message("large.file.editor.regex.action.mnemonic.text")) {
      @Override
      public void setSelected(boolean state) {
        super.setSelected(state);
        if (state && myToggleWholeWordsAction != null) {
          myToggleWholeWordsAction.setSelected(false);
        }
      }
    };
    myStatusTextAction = new LargeFileStatusTextAction(this);
  }
private void createActions()