Ticket #4319 (closed defect: fixed)
The SPICE syntax file does not recognize where the control script context ends
Reported by: | gszymaszek | Owned by: | andrew_b |
---|---|---|---|
Priority: | trivial | Milestone: | 4.8.28 |
Component: | mcedit | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: | committed-master |
Description
Since .endc is defined both as the context end delimiter and a context keyword, it is not recognized as the former and the control script context, once started, would never be finished. This issue can be noticed, for example, in wrong syntax highlighting of the .end command if it is preceded by a control script.
The issue can be fixed by making the control script context exclusive and highlighting the .control and .endc keywords in the default context instead.
Attachments
Change History
Changed 3 years ago by gszymaszek
- Attachment 0001-Fix-SPICE-syntax-file-to-recognize-where-control-scr.patch added
Note: See
TracTickets for help on using
tickets.