private void invalidateFoldRegionLayouts() {
    ReadAction.run(() -> {
      for (FoldRegion region : myEditor.getFoldingModel().getAllFoldRegions()) {
        invalidateFoldRegionLayout(region);
      }
    });
  }
private void invalidateFoldRegionLayouts()