void recalculate() {
    if (!isSoftWrappingEnabled()) {
      myDirty = true;
      return;
    }
    myDirty = false;
    applianceManager.reset();
    storage.removeAll();
    deferredFoldRegions.clear();
    applianceManager.recalculateIfNecessary();
  }
void recalculate()