private void startSearching() {
    if (myReplace) {
      new ReplaceCommand(getConfiguration(), mySearchContext).startSearching();
    }
    else {
      new SearchCommand(getConfiguration(), mySearchContext).startSearching();
    }
  }
private void startSearching()