dhaumann added a comment.
Thanks for the info - I will look into this again later. I can see that it's code duplication, but strictly speaking the case statement of StartElement and EndElement are now more "symmetric". REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D14524 To: dhaumann, vkrause Cc: winterz, aacid, kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann