Ticket #4059 (new defect)

Opened 4 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:

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
Note: See TracTickets for help on using tickets.