sars added a comment.
Note: this is especially bad when the "on the fly spellchecking" is enabled as visibleRange() is used to "optimize" and only highlight what is currently visible. It is called multiple times. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D17243 To: sars, cullmann, #kate, dhaumann Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann