davispuh added a comment.
In D19532#425381 <https://phabricator.kde.org/D19532#425381>, @cullmann wrote: > Calling the ::get is no issue. That's good then, but we can't use `applyFormat(0, text.size(), Format());` because Kate asserts when `!Format->isValid()` which it won't be so we have to `return State();` and also see D19533 <https://phabricator.kde.org/D19533> REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D19532 To: davispuh, cullmann, dhaumann, vandenoever Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann