LaTeX: fix backslash delimiter in some keywords
ClosedPublic

Authored by nibags on Mon, Nov 4, 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.Mon, Nov 4, 8:21 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptMon, Nov 4, 8:21 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
nibags requested review of this revision.Mon, Nov 4, 8:21 AM
nibags edited the summary of this revision. (Show Details)Mon, Nov 4, 8:23 AM
cullmann accepted this revision.Mon, Nov 4, 7:51 PM

New result looks better, true!

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