Skip to content

TextFolding::importFoldingRanges: get rid of UB

Igor Kushnir requested to merge work/fix-unfolding-crash into master
  • Don't use invalidated iterators.
  • Clear all folding ranges instead of unfolding them one by one. This is both simpler and more efficient.

BUG: 444726

1st commit: KateFoldingTest: don't leak ViewPrivate

Merge request reports