- 
                Notifications
    
You must be signed in to change notification settings  - Fork 74
 
Open
Labels
yamlCaused by the yaml lexerCaused by the yaml lexer
Description
This is a continuation of almost 5 years-old bug, please see also https://sourceforge.net/p/scintilla/bugs/2218/ and notepad-plus-plus/notepad-plus-plus#9038
The following Yaml is not correctly highlighted (I enhanced the example from the older bugs):
my_yaml_block: |+
  This block is text
  even if the line above is empty
  these two text lines should also be highlighted as text. 
 
 
# End of example, should be the end of text renderingEmpty lines and lines containing only spaces (even shorter than the indent) should be considered to be part of the string. Currently the highlighting stops at This block is text line. The Yaml in the example above really has 4 new-line characters at the end when using |+ block (see https://www.bairesdev.com/tools/json2yaml/ to check that).
Update: fixed rendering of the example, the empty line at the end was not rendered.
Metadata
Metadata
Assignees
Labels
yamlCaused by the yaml lexerCaused by the yaml lexer