diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-11 12:38:56 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:42 -0300 |
| commit | 682e237df7e8b22f820d14a4adee58e6e2f84268 (patch) | |
| tree | 5d888cb46f1a49e89fc55e2a4c232d3af0265b1d /test/snapshots/tagpath.snap | |
| parent | 6878e1c309172d624c0d7a3555f6f0217ae6770e (diff) | |
| download | pardes-682e237df7e8b22f820d14a4adee58e6e2f84268.tar.gz pardes-682e237df7e8b22f820d14a4adee58e6e2f84268.zip | |
trunk: resume before the Reload experiment
Empty marker on the last pre-Reload change. Keep the Reload experiment on reload (3801914), its first change on reload-start (200a1fc), and the unfinished performance investigation on reload-perf-wip.
Diffstat (limited to 'test/snapshots/tagpath.snap')
| -rw-r--r-- | test/snapshots/tagpath.snap | 68 |
1 files changed, 25 insertions, 43 deletions
diff --git a/test/snapshots/tagpath.snap b/test/snapshots/tagpath.snap index 739008a1..cf431fa1 100644 --- a/test/snapshots/tagpath.snap +++ b/test/snapshots/tagpath.snap @@ -1,68 +1,50 @@ -# THE PATH IN A TAG IS SELECTABLE, NOT EDITABLE. -# 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 -# 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. +# Filename drafts share the selectable tag coordinate space with commands. +# Escape cancels; Enter changes buffer identity, never renames a disk file. lines c.txt 4 -start 30 100 c.txt -wait 8000 New Newcol +start 31 100 c.txt +wait 8000 Newcol Joincol wait 8000 c.txt stable 700 20000 snap start -# --- keyboard: select part of the PATH --- -# `:` parks at the tail's start (the first EDITABLE column) — unchanged, that -# is what makes `:w<Tab>` the same two keystrokes every time key : stable 400 5000 snap colon -# 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 -# 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 snapstyle sel-path -# y yanks the selection. Esc hands the body back; p pastes the register into -# the file, which is the only way a snapshot can see what was yanked. key y key esc settle 100 -stable 400 5000 key p stable 400 5000 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 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 42 2 -release left 42 2 +# Sweep across the path / command boundary without injected padding. +press left 12 3 +drag left 30 3 +drag left 42 3 +release left 42 3 stable 400 5000 snap drag-cross snapstyle drag-cross -# --- the path is inert to editing --- -# a plain click INSIDE the path leaves the cursor there (no clamp into the -# tail), in insert mode like any tag click — and then typing and backspace do -# NOTHING: the tag row below is byte-identical to the one in `yanked-path`. -press left 12 2 -release left 12 2 +key esc +settle 100 +key : +key 0 +key i +text /renamed stable 400 5000 -text ZZNOPE -key bs -key bs +snap name-draft +key esc +stable 400 5000 +snap name-cancelled +key : +key 0 +key i +text /renamed +key enter stable 400 5000 -snap path-inert +snap name-committed |
