@Override
  public void onFoldProcessingEnd() {
    myUpdateInProgress = false;
    if (!isSoftWrappingEnabled()) {
      return;
    }
    try {
      if (!myDirty) { // no need to recalculate specific areas if the whole document will be reprocessed
        applianceManager.recalculate(deferredFoldRegions);
      }
    }
    finally {
      deferredFoldRegions.clear();
    }
  }
@Override
  public void onFoldProcessingEnd()