diff options
| author | blasty <blasty@local> | 2026-07-09 21:58:51 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-09 21:58:51 +0200 |
| commit | d37f4a693f64bebcc5614e085ab80be5eeede2a5 (patch) | |
| tree | b2931286d0a72629825be6bd0ce17a430dfa6f04 /server/patch_server.py | |
| parent | decompiler: fix stale scroll frame on same-function jump (diff) | |
| download | ida-tui-d37f4a693f64bebcc5614e085ab80be5eeede2a5.tar.gz ida-tui-d37f4a693f64bebcc5614e085ab80be5eeede2a5.tar.xz ida-tui-d37f4a693f64bebcc5614e085ab80be5eeede2a5.zip | |
decompiler: xref jump lands the cursor on the reference token's column
Previously an xref jump only positioned the pseudocode line; the cursor sat at
column 0. Thread the referenced symbol's name (the token xrefs was invoked on,
or the callee's name) from the xref dialog through _on_xref_chosen -> _do_navigate,
and place the column at that token's whole-word start on the target line
(_decomp_col_for, computed on the marker-stripped line so it matches the display).
Works for both cross-function (via _apply_decomp cursor_x) and same-function (via
DecompView.goto) jumps.
Add a column assertion to the xref pilot test (asserts token-start when the token
is on the line, line-start otherwise -- robust to a stale server Hex-Rays cache).
full suite 65/65.
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions
