Ticket #4059 (new defect)

Opened 21 months ago

Last modified 11 months ago

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:


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

Change History

comment:1 Changed 11 months ago by and

introduces by #4010

end of block highlighting will only stop by newline with beginning minus

Note: See TracTickets for help on using tickets.