diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 01:05:40 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 01:26:09 -0300 |
| commit | e8d772474bfad73dcd6f481b796e86881388117b (patch) | |
| tree | 4592d478430bec02be0fff6c0d3b9c0358cbb273 /core/fuzz.zig | |
| parent | 32f8f603f30a6e6e196da929fa0df82b8e94f4c1 (diff) | |
| download | pardes-e8d772474bfad73dcd6f481b796e86881388117b.tar.gz pardes-e8d772474bfad73dcd6f481b796e86881388117b.zip | |
lsp/Ask: an edit a language server sends (a format `=`, a rename's WorkspaceEdit) holds the reading pane it lands in, as a typed edit does (walk UI M3, found by item 3's golden reading, pick-ui SPEC §6.5 "Editing a reading pane keeps it the same way"): RUN: process-test lsp-client-edit under jumps walk: main.rs formatted by the mock (`=`), then renamed (SPC l r), still showing `Keep` in its tag in every snapshot after the edit (formatted, unformatted, renamed, unrenamed), a reading pane the next jump would step away from its edit; THE CAUSE: Trail.edited (an edit holds the panes showing its file) is called from File.zig's splice for `how == .edit` only, and core/lsp/Ask.zig applyLspEdits puts the server's edits in as the file's new text through File.load (pushUndo, then load: one undo step), which is no `.edit`; THE FIX: applyLspEdits calls Trail.edited after the load (a reload from disk, File.load's other use, still holds nothing); a user hit it: any format or rename by a language server in a pane reading under `Jumps walk`; TEST FIRST: lsp/Ask.zig "an edit a language server sends (a format, a rename) holds the reading pane it lands in, as a typed edit does" (failed before at Ask.zig:790, the pane still reading)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'core/fuzz.zig')
0 files changed, 0 insertions, 0 deletions
