a1e6799aa9
After extracting the whole buffer content, a line can end up with only non-range highlgihters pending which makes its range become 0.0,0.0, after running highlighting on the extracted range it gets re-inserted but taking the min of existing range and inserted range wrongly returns 0.0. Avoid this by detecting that the 0.0,0.0 range does not actually mean anything when we have no ranged atoms. Fixes #5001
6 lines
226 B
Plaintext
6 lines
226 B
Plaintext
add-highlighter window/test regions
|
|
add-highlighter window/test/macro region %{#} %{(?=\\n)} group
|
|
add-highlighter window/test/code default-region group
|
|
add-highlighter window/ number-lines
|
|
add-highlighter window/ line 2 ,red
|