dhaumann added a comment.
@arrowdodger Isn't there a line missing: + <context attribute="Pragma" lineEndContext="#pop" name="pragma"> + <keyword attribute="Pragma" context="#stay" String="language_pragmas" /> + <StringDetect attribute="Pragma" context="#pop" String="#-}"/> <------------------ This line ? + </context> Also, is the lineEndContext #pop or should it rather be #stay? Please clarify/confirm. Also: could you provide us with a small demo code so that we can extend our unit test? REPOSITORY R216 Syntax Highlighting BRANCH master REVISION DETAIL https://phabricator.kde.org/D6087 To: arrowdodger, #framework_syntax_hightlighting, dhaumann Cc: dhaumann, #frameworks