diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-31 22:52:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:08 -0300 |
| commit | f4ac5ee26851ced516b826953fa340008fa7069c (patch) | |
| tree | 7e2c7cf5cff42f083afb4c30b1582816af60ec18 /test/snapshots/tagpath.snap | |
| parent | 6002422d04f1120ba7b0c5169d6a4ff01c1b5aff (diff) | |
| download | pardes-f4ac5ee26851ced516b826953fa340008fa7069c.tar.gz pardes-f4ac5ee26851ced516b826953fa340008fa7069c.zip | |
the mode is a character in the layout box, not a word in the tagline
Diffstat (limited to 'test/snapshots/tagpath.snap')
| -rw-r--r-- | test/snapshots/tagpath.snap | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/test/snapshots/tagpath.snap b/test/snapshots/tagpath.snap index e4517ddc..6005bc3d 100644 --- a/test/snapshots/tagpath.snap +++ b/test/snapshots/tagpath.snap @@ -2,10 +2,12 @@ # tag_col/tag_anchor index the WHOLE rendered tag (prefix ++ tail) — one # coordinate space, no conversions: the renderer prints the cursor at tag_col # verbatim and a mouse column IS a tag column. So motions and sweeps reach the -# mode indicator and the path, a selection over them yanks and executes like -# any other text, and the ONLY thing fenced off is EDITING: every edit op -# measures from the first editable column (tagPrefix().len) and does nothing to -# the left of it. +# path, a selection over it yanks and executes like any other text, and the +# ONLY thing fenced off is EDITING: every edit op measures from the first +# editable column (tagPrefix().len) and does nothing to the left of it. +# +# The prefix IS the path now — the mode word that used to lead it is a single +# character in the layout box — so column 0 of the tag is the path's first byte. lines c.txt 4 start 30 100 c.txt wait 8000 Kill Newcol @@ -18,17 +20,13 @@ snap start key : stable 400 5000 snap colon -# 0 goes to column 0 of the RENDERED tag: the "N" of NOR, a column the keyboard -# could not name at all before +# 0 goes to column 0 of the RENDERED tag: the path's leading "/", a column the +# keyboard could not name at all before key 0 stable 400 5000 snap col0 -# W: the long word it traverses, landing the cursor on the space after "NOR" -key W -stable 400 5000 -snap sel-nor -# E: extend to the end of the next long word — the style capture shows ONE -# highlighted run from that space through the last char of the path +# E: extend to the end of the long word under the cursor — the style capture +# shows ONE highlighted run over the whole path, read-only prefix though it is key E stable 400 5000 snap sel-path @@ -45,13 +43,14 @@ snap yanked-path # --- mouse: a sweep across the prefix/tail boundary --- # a left press on a tagline anchors a TAG sweep (not the body's block # selection), so the drag paints one run of the tag row. Press at col 12 -# (inside the path), release at col 46 (just past "Save" in the tail): the -# highlight crosses the boundary — screen col 40, where the tail starts — in -# one piece, which is the whole point of there being one coordinate space. +# (inside the path), release at col 42 (just past "Save" in the tail): the +# highlight crosses the boundary — screen col 36, where the tail starts, four +# columns left of where it used to be — in one piece, which is the whole point +# of there being one coordinate space. press left 12 2 drag left 30 2 -drag left 46 2 -release left 46 2 +drag left 42 2 +release left 42 2 stable 400 5000 snap drag-cross snapstyle drag-cross |
