LaTeX: fix backslash delimiter in some keywords
ClosedPublic

Authored by nibags on Nov 4 2019, 8:21 AM.

Details

Summary

BUG: 413493

FIXED-IN: 5.64.0

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.

Diff Detail

Repository
R216 Syntax Highlighting
Branch
latex-keys-del
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 18482
Build 18500: arc lint + arc unit
nibags created this revision.Nov 4 2019, 8:21 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptNov 4 2019, 8:21 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
nibags requested review of this revision.Nov 4 2019, 8:21 AM
nibags edited the summary of this revision. (Show Details)Nov 4 2019, 8:23 AM
cullmann accepted this revision.Nov 4 2019, 7:51 PM

New result looks better, true!

This revision is now accepted and ready to land.Nov 4 2019, 7:51 PM
nibags edited the summary of this revision. (Show Details)Nov 5 2019, 2:08 AM
nibags closed this revision.Nov 5 2019, 2:10 AM