From e35e4654c34cf303cf3bc6077a3cbffee70f7909 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 15:29:13 -0300 Subject: Blank lines open above a selection's first line and below its last [ and ] measured from the cursor's line, so over a selection of several lines whose head was at the bottom, [ opened a line INSIDE the selection. helix takes the range's line_range: above its start, below its end. helix-golf's export_from_mod (yp[) is where it showed. Co-Authored-By: Claude Opus 5.5 --- test/hxcases/cases.jsonl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/hxcases/cases.jsonl') diff --git a/test/hxcases/cases.jsonl b/test/hxcases/cases.jsonl index 6e1b8188..ada7363b 100644 --- a/test/hxcases/cases.jsonl +++ b/test/hxcases/cases.jsonl @@ -252,6 +252,9 @@ {"name": "add-nl-below", "pane": "file", "text": "aa\nbb\n", "keys": "]"} {"name": "add-nl-above", "pane": "file", "text": "aa\nbb\n", "keys": "j["} {"name": "add-nl-count", "pane": "file", "text": "aa\nbb\n", "keys": "2]"} +{"name": "add-nl-above-sel", "pane": "file", "text": "aa\nbb\ncc\n", "keys": "vj["} +{"name": "add-nl-below-sel", "pane": "file", "text": "aa\nbb\ncc\n", "keys": "jvk]"} +{"name": "add-nl-above-lines", "pane": "file", "text": "aa\nbb\ncc\n", "keys": "jxx["} {"name": "d-word", "pane": "file", "text": "alpha beta\n", "keys": "wd"} {"name": "d-bare-char", "pane": "file", "text": "abc\n", "keys": "d"} {"name": "d-on-nl-joins", "pane": "file", "text": "ab\ncd\n", "keys": "lld"} -- cgit v1.3