Bug 445818

Summary: ConTeXt: Allow for nested verbatim
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Jack Hill <jackhill3103>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: walter.von.entferndt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Highlighting stops after first \stopverbatim

Description Jack Hill 2021-11-20 15:52:40 UTC
Created attachment 143775 [details]
Highlighting stops after first \stopverbatim

Currently, the snippet

    \startverbatim
    a
    \startverbatim
    b
    \stopverbatim
    c
    \stopverbatim

will incorrectly stop highlighting after the first \stopverbatim.
The highlighting should continue after the first \stopverbatim.
Comment 1 Bug Janitor Service 2021-11-20 16:29:49 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:27 UTC
Git commit 4ba49d0bb251d7ee9c50dd68119d848b57e0abad by Jack Hill.
Committed on 20/11/2021 at 15:50.
Pushed by cullmann into branch 'master'.

ConTeXt: Verbatim highlighting allows for nesting

Previously nested \starttyping and \stoptyping pairs would stop
incorrectly stop highlighting verbatim after the first \stoptyping
command.

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

https://invent.kde.org/frameworks/syntax-highlighting/commit/4ba49d0bb251d7ee9c50dd68119d848b57e0abad