Skip to content

Simplify and optimize KateScriptDocument::anchorInternal

Waqar Ahmed requested to merge work/optimize-anchor into master

DocumentCursor is really slow and uneeded complexity. Just iterating the lines directly is much faster.

Running kateindenttest with this patch is ~1 second faster for me

Merge request reports