
In some cases such as with folding we can end-up with regions not having any atoms to highlight which can trigger a crash as we assume display buffers not to be empty Fixes #4926
7 lines
276 B
Plaintext
7 lines
276 B
Plaintext
declare-option range-specs fold %val{timestamp} 1.1,3.8|folded
|
|
|
|
add-highlighter buffer/regions regions
|
|
add-highlighter buffer/regions/curly region \{ \} regions
|
|
add-highlighter buffer/regions/curly/brace region \[ \] fill green
|
|
add-highlighter buffer/fold replace-ranges fold
|