aboutsummaryrefslogtreecommitdiffstats
path: root/server/patch_server.py
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-07-09 21:58:51 +0200
committerblasty <blasty@local>2026-07-09 21:58:51 +0200
commitd37f4a693f64bebcc5614e085ab80be5eeede2a5 (patch)
treeb2931286d0a72629825be6bd0ce17a430dfa6f04 /server/patch_server.py
parentdecompiler: fix stale scroll frame on same-function jump (diff)
downloadida-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