Ticket #4059 (new defect)
YAML syntax highlight is broken on multiline blocks
Reported by: | onlyjob | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mcedit | Version: | 4.8.24 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950307
In the newest version of mcedit syntax highlight for YAML
inline block highlight is started after '>' or '|' directives, but does not end
until EOF.
Instead it should end after encountering any of:
- an empty line
- a line with the same indent as the key of current value
- a line with less indent than the first line of inline block
Attachments
Change History
Changed 2 years ago by kran0
- Attachment 2022-07-05-204012_3360x1080_scrot.png added
github pull 170 example
comment:2 Changed 2 years ago by kran0
Please watch PR from https://github.com/MidnightCommander/mc/pull/170
It does not fixes the bug, bui i think it makes the problem moderate
Please watch attached image with the result: https://midnight-commander.org/attachment/ticket/4059/2022-07-05-204012_3360x1080_scrot.png
Note: See
TracTickets for help on using
tickets.
introduces by #4010
end of block highlighting will only stop by newline with beginning minus