diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/regression/5001-line-highlighting-breaks-at-region/rc | 2 | ||||
| -rw-r--r-- | test/regression/5001-line-highlighting-breaks-at-region/script | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/regression/5001-line-highlighting-breaks-at-region/rc b/test/regression/5001-line-highlighting-breaks-at-region/rc index 78060e1c..bd8b4cfb 100644 --- a/test/regression/5001-line-highlighting-breaks-at-region/rc +++ b/test/regression/5001-line-highlighting-breaks-at-region/rc @@ -2,4 +2,6 @@ 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 +face global LineNumbers default,default+F +face global LineNumberCursor default,default+rF add-highlighter window/ line 2 ,red diff --git a/test/regression/5001-line-highlighting-breaks-at-region/script b/test/regression/5001-line-highlighting-breaks-at-region/script index f696b0d1..89885a7d 100644 --- a/test/regression/5001-line-highlighting-breaks-at-region/script +++ b/test/regression/5001-line-highlighting-breaks-at-region/script @@ -1,2 +1,2 @@ ui_out -ignore 1 -ui_out '{ "jsonrpc": "2.0", "method": "draw", "params": [[[{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": " 1│" }, { "face": { "fg": "black", "bg": "white", "underline": "default", "attributes": [] }, "contents": "#" }, { "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "foo\u000a" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": " 2│" }, { "face": { "fg": "default", "bg": "red", "underline": "default", "attributes": [] }, "contents": "bar\u000a" }, { "face": { "fg": "default", "bg": "red", "underline": "default", "attributes": [] }, "contents": " " }]], { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, { "fg": "blue", "bg": "default", "underline": "default", "attributes": [] }] }' +ui_out '{ "jsonrpc": "2.0", "method": "draw", "params": [[[{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": ["final_fg","final_bg","final_attr"] }, "contents": " 1│" }, { "face": { "fg": "black", "bg": "white", "underline": "default", "attributes": [] }, "contents": "#" }, { "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "foo\u000a" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": ["final_fg","final_bg","final_attr"] }, "contents": " 2│" }, { "face": { "fg": "default", "bg": "red", "underline": "default", "attributes": [] }, "contents": "bar\u000a" }, { "face": { "fg": "default", "bg": "red", "underline": "default", "attributes": [] }, "contents": " " }]], { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, { "fg": "blue", "bg": "default", "underline": "default", "attributes": [] }] }' |
