Ticket #3893 (closed enhancement: fixed)
New markdown syntax highlighting doesn't play well with complex files.
Reported by: | sknaumov | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.8.21 |
Component: | mcedit | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: | committed-master |
Description
Syntax highlighting from #3864 doesn't play well with lists or words containing underscores. And given that markdown files could contain not only ASCII text, it is better to be conservative in detecting contexts.
Otherwise syntax highlighting looks like a Christmas tree, but with toxic colors, forcing me to turn it off at all.
Proposed fix is attached.
Attachments
Change History
Changed 7 years ago by sknaumov
- Attachment 0001-syntax-fix-markdown.syntax-that-doesn-t-work-well-fo.patch added
comment:3 Changed 6 years ago by andrew_b
- Status changed from new to closed
- Votes for changeset set to committed-master
- Resolution set to fixed
Thanks!
Applied as [729f6eef9c928748e2b5b3b427be6c885b0c965a].
Note: See
TracTickets for help on using
tickets.
Proposed fix