From cf14ede2310a693cb3163198ab9f4284b7f9ffd3 Mon Sep 17 00:00:00 2001 From: blasty Date: Thu, 9 Jul 2026 15:14:27 +0200 Subject: preserve scroll offset in jump history (both views) Restoring only the cursor re-derived the viewport via scroll-into-view, so back landed on the right line but scrolled differently. NavEntry now stores scroll_y (disasm) and dec_scroll_y/dec_scroll_x (pseudocode); a single _save_current_pos() snapshots cursor+scroll of both views right before navigating away, and load/show restore the exact scroll. Disasm defers scroll_to via call_after_refresh (its virtual_size is only set in _on_primed, so an immediate scroll_to clamps to 0). Also routes rename's reload through the same save/restore path. pilot suite 46/46. --- TODO | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 TODO (limited to 'TODO') diff --git a/TODO b/TODO new file mode 100644 index 0000000..14514fa --- /dev/null +++ b/TODO @@ -0,0 +1,4 @@ +[ ] RPC endpoint for robot-spectator-ida +[ ] page up/down cursor x/y preserve +[ ] hlsearch should jump cursor +[x] makes names pane sortable (addr/name columns) -- cgit v1.3.1-sl0p