diff options
| author | blasty <blasty@local> | 2026-07-24 00:38:58 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-24 00:38:58 +0200 |
| commit | 99d01ab72b92c5ef42784c742b1aa7d52a05a52d (patch) | |
| tree | c259f8b29b5a8b57ea37e0e87c201326dae3a285 /experiments | |
| parent | ux: fix truncated loading-splash message (diff) | |
| download | ida-tui-99d01ab72b92c5ef42784c742b1aa7d52a05a52d.tar.gz ida-tui-99d01ab72b92c5ef42784c742b1aa7d52a05a52d.tar.xz ida-tui-99d01ab72b92c5ef42784c742b1aa7d52a05a52d.zip | |
nav: baseline horizontal scroll at 0 when jumping to a target column
DecompView.goto (repositioning within an already-loaded function, e.g. an xref
jump inside the current function) derived the horizontal scroll from the CURRENT
offset and kept it when the target column fell inside the (stale) viewport. So a
jump could land the cursor on the right column but leave the pane still scrolled
right from wherever you were, showing the line shifted/off.
Baseline the horizontal offset at 0 before computing: reset to 0, then scroll
right only if the target column is beyond the viewport width. The derive branch
is jump-only; back/forward restores pass an explicit scroll_x and are untouched.
Verified: goto with a stale scroll_x=19 -> scroll_x=0 after (col fits);
scroll_restore + decomp_nav/decomp_follow_self/follow_xrefs/xref_labels/
view_toggle/disasm_nav/search/mouse/listing_view/continuous_view/func_banners
green.
Diffstat (limited to 'experiments')
0 files changed, 0 insertions, 0 deletions
