Bug 445820 - ConTeXt: Support highlighting for TABLEs
Summary: ConTeXt: Support highlighting for TABLEs
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-20 16:09 UTC by Jack Hill
Modified: 2021-11-27 09:11 UTC (History)
1 user (show)

See Also:
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. (19.96 KB, image/png)
2021-11-20 16:09 UTC, Jack Hill
Details

Note You need to log in before you can comment on or make changes to this bug.
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