private boolean isMultiLine() {
    SearchReplaceComponent searchReplaceComponent = mySearchManager.getSearchReplaceComponent();
    return searchReplaceComponent != null && searchReplaceComponent.isMultiline();
  }
private boolean isMultiLine()