cullmann added a comment.
Hmm, I am not sure this doesn't regress cases that rely on setDefinition being "cheap" for the nop case. Is there no other way to trigger re-highlight for the wanted case? REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D25328 To: meven, kossebau, cullmann, vkrause Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann