summaryrefslogtreecommitdiff
path: root/src/CHANGELOG.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 00:39:47 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commitdd5aa28c89e2ca31a4cd806d6087ce4ac52398fc (patch)
tree2c79f9311d7dc2b7ef833257cfe260a631496146 /src/CHANGELOG.md
parentd7b3d57ed0ba649f01559356fbf2bf89561990ca (diff)
downloadpardes-dd5aa28c89e2ca31a4cd806d6087ce4ac52398fc.tar.gz
pardes-dd5aa28c89e2ca31a4cd806d6087ce4ac52398fc.zip
look: one row address, look.rowAddressAt(pane, row, col): the address a row's producer gave it (a query pane's row on its address, Query.rowAddress) else the one the pane's language reads in the line (a diff's: diffClickIn), with where the row's words start and the address's text; the mouse (exec.operandAt), an empty look written back to `event` (events.expandAt) and a whole line written to `look` (look.lineAddress, was diffLineAddress) each ask it once, where the mouse asked Query.rowAddress and diffClick in turn and the other two asked the diff alone; so a query pane's gutter look reaches events and 9P too (the behaviour change, in the changelog); test: a query row's address from an event written back and from its whole line written to look, its code still words; the diff's look tests and goldens unchanged
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/CHANGELOG.md')
-rw-r--r--src/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md
index a64de8e1..979e566a 100644
--- a/src/CHANGELOG.md
+++ b/src/CHANGELOG.md
@@ -2,6 +2,13 @@
## Unreleased
+- A query pane's row looked at on its address (its gutter) opens the
+ row's place however the look arrives, as a click there always did: an
+ empty look written back to the pane's `event` file, and the whole row
+ written to its `look` file, now take the address the row holds, not a
+ word of its text. A diff's lines answer all three ways through the same
+ one function (`look.rowAddressAt`).
+
- Each pane's directory over 9P has a `rows` file: a line a body row of a
results pane (+Search, +Callstack, +Diff, a language server's list),
where it points (`path`, line, column, the address's end, where its code