nibags created this revision. nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann, jpoelen. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. nibags requested review of this revision.
REVISION SUMMARY BUG: 413493 A delimiter before keywords of kind `\command` isn't required. Therefore, a DetectChar rule with lookAhead is used to detect `\` at the beginning of the keywords, and thus avoid the delimiter in the keyword. REPOSITORY R216 Syntax Highlighting BRANCH latex-keys-del REVISION DETAIL https://phabricator.kde.org/D25139 AFFECTED FILES autotests/folding/highlight.tex.fold autotests/html/highlight.tex.html autotests/input/highlight.tex autotests/reference/highlight.tex.ref data/syntax/latex.xml To: nibags, #framework_syntax_highlighting, dhaumann, cullmann, jpoelen Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann