public void setStringToFind(@NotNull String s) {
    boolean changed = !StringUtil.equals(s, myStringToFind);
    if (changed) {
      myStringToFind = s;
      myPattern = PatternUtil.NOTHING;
      notifyObservers();
    }
  }
public void setStringToFind(@NotNull String s)