Bug 445820

Summary: ConTeXt: Support highlighting for TABLEs
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Jack Hill <jackhill3103>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: walter.von.entferndt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: TABLE environment next to an xtable environment. The TABLE commands should be highlighted the same as the xtable commands.

Description Jack Hill 2021-11-20 16:09:18 UTC
Created attachment 143776 [details]
TABLE environment next to an xtable environment. The TABLE commands should be highlighted the same as the xtable commands.

TABLEs use commands that are equivalent to start/stop pairs and so these commands should be highlighted the same as start/stop pairs.
The commands equivalent to "\start()" are:

\bTABLEhead
\bTABLEnext
\bTABLEbody
\bTABLEfoot
\bTR
\bTD

and the commands equivalent to "\stop()" are:

\eTABLEhead
\eTABLEnext
\eTABLEbody
\eTABLEfoot
\eTR
\eTD
Comment 1 Bug Janitor Service 2021-11-20 16:29:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/275
Comment 2 Jack Hill 2021-11-27 09:11:35 UTC
Git commit 17c0fe32b43aab940f7282bfeec6d0c73ab005ce by Jack Hill.
Committed on 20/11/2021 at 16:20.
Pushed by cullmann into branch 'master'.

Corrected syntax for ConTeXt TABLE commands

These commands act like start/stop pairs and so they should be
highlighted as such

M  +14   -0    data/syntax/context.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/17c0fe32b43aab940f7282bfeec6d0c73ab005ce