cullmann added a comment.
Hmm, I just thought that might be correct, but doesn't that kill highlighting for all definitions that include none? If forgot that includedDefinitions() doesn't include itself, that check makes no sense ;=) I think we are missing some check at the end if we had no formats at all. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D19533 To: davispuh, cullmann, dhaumann Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann