@Override
    public void afterDocumentChange(@NotNull final Document document) {
      if (!myTrackingDocument) {
        myChanged = true;
        return;
      }
      if (!mySuppressUpdate) {
        smartUpdate();
      } else {
        mySuppressUpdate = false;
      }
    }
@Override
    public void afterDocumentChange(@NotNull final Document document)