D25139: LaTeX: fix backslash delimiter in some keywords
Nibaldo González
noreply at phabricator.kde.org
Mon Nov 4 08:21:45 GMT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191104/fa00477a/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list