diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-11-04 20:59:20 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-11-04 20:59:20 +1100 |
| commit | 8c49c8ee404fecc110338c08eeed515b63caa93c (patch) | |
| tree | 7f6d71782f95fad692c0fc3d73b26c615918d739 /test | |
| parent | 12473583a542dd9f1197fac27121ff4497c0a7de (diff) | |
Highlight all atoms for the line regardless of has_buffer_range
This changes the behaviour with say line numbers and other line
flags, but can be opted out by using final faces
Fixes #5253
Diffstat (limited to 'test')
4 files changed, 7 insertions, 0 deletions
diff --git a/test/regression/5253-line-and-column-highlighter-issue/cmd b/test/regression/5253-line-and-column-highlighter-issue/cmd new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/regression/5253-line-and-column-highlighter-issue/cmd @@ -0,0 +1 @@ + diff --git a/test/regression/5253-line-and-column-highlighter-issue/in b/test/regression/5253-line-and-column-highlighter-issue/in new file mode 100644 index 00000000..b183936e --- /dev/null +++ b/test/regression/5253-line-and-column-highlighter-issue/in @@ -0,0 +1,3 @@ + +TEST + diff --git a/test/regression/5253-line-and-column-highlighter-issue/rc b/test/regression/5253-line-and-column-highlighter-issue/rc new file mode 100644 index 00000000..66e02ca3 --- /dev/null +++ b/test/regression/5253-line-and-column-highlighter-issue/rc @@ -0,0 +1,2 @@ +add-highlighter global/ column 40 "default,green" +add-highlighter global/ line 2 "default,blue" diff --git a/test/regression/5253-line-and-column-highlighter-issue/script b/test/regression/5253-line-and-column-highlighter-issue/script new file mode 100644 index 00000000..ad7a4881 --- /dev/null +++ b/test/regression/5253-line-and-column-highlighter-issue/script @@ -0,0 +1 @@ +ui_out -until-grep '"method": "draw"' '{ "jsonrpc": "2.0", "method": "draw", "params": [[[{ "face": { "fg": "black", "bg": "cyan", "underline": "default", "attributes": [] }, "contents": "\u000a" }, { "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": " " }, { "face": { "fg": "default", "bg": "green", "underline": "default", "attributes": [] }, "contents": " " }], [{ "face": { "fg": "default", "bg": "blue", "underline": "default", "attributes": [] }, "contents": "TEST\u000a" }, { "face": { "fg": "default", "bg": "blue", "underline": "default", "attributes": [] }, "contents": " " }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "\u000a" }, { "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": " " }, { "face": { "fg": "default", "bg": "green", "underline": "default", "attributes": [] }, "contents": " " }]], { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, { "fg": "blue", "bg": "default", "underline": "default", "attributes": [] }] }' |
