diff options
| author | blasty <blasty@local> | 2026-07-24 22:10:25 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-24 22:10:25 +0200 |
| commit | 2d6541a93992790b7013feb3b0756c381f2c8fa6 (patch) | |
| tree | 9a8a0b09f9a4bb18bb7ca011ae9566ae69966999 /server/patch_server.py | |
| parent | split: guard toggle behind prompt-active; clear _split in the pilot reset (diff) | |
| download | ida-tui-2d6541a93992790b7013feb3b0756c381f2c8fa6.tar.gz ida-tui-2d6541a93992790b7013feb3b0756c381f2c8fa6.tar.xz ida-tui-2d6541a93992790b7013feb3b0756c381f2c8fa6.zip | |
split-view phase 2: cursor sync + linked-row highlight
The Ghidra sync: in split, the focused pane drives and the companion shows a
subtle band (_S_LINK) on the linked location + scrolls it into view. The
companion's cursor never moves (band + scroll only), so there's no echo/
ping-pong and no guard is needed.
* _sync_split(source): listing drives -> DecompView.line_for_ea (largest /*ea*/
marker <= cursor ea) bands the covering C line; decomp drives ->
ListingModel.ensure_ea bands the covering instruction row.
* wired into on_listing/decomp_view_cursor_moved (gated on the focused pane),
the Tab focus-switch (re-link from the new driver), _apply_decomp (link once
the pseudocode loads) and _apply_enter_split; bands cleared on leaving split.
* ListingView/DecompView gain _link_rows/_link_line + set_link/reveal, a
render_line apply_style(_S_LINK) band, and DecompView.line_for_ea.
Still single-ea per line (one instruction highlighted) — the full instruction
range is phase 3 (the decomp_map tool). Pilot split_view now covers both sync
directions + that the band actually paints (10/10); full suite 151/2-flake.
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions
