diff options
| author | blasty <blasty@local> | 2026-07-10 12:38:51 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-10 12:38:51 +0200 |
| commit | 50cbb7e982e03be863ad7f1979638520ffc95f55 (patch) | |
| tree | 4fb97251f1715e7a34dfa14535448bf01875e09f /server | |
| parent | clipboard: keyboard copy (OSC 52 + tmux) since mouse-select is captured (diff) | |
| download | ida-tui-50cbb7e982e03be863ad7f1979638520ffc95f55.tar.gz ida-tui-50cbb7e982e03be863ad7f1979638520ffc95f55.tar.xz ida-tui-50cbb7e982e03be863ad7f1979638520ffc95f55.zip | |
struct editor: loud save errors + guard unsaved edits
A struct with a field IDA's C parser rejects (notably '__unused', a predefined
macro) failed to re-declare, but the failure was silent: the edit looked applied,
then reloading showed the old definition (lost work). Now:
- a failed declare shows a loud, styled 'save failed' status and, when it can,
names the offending reserved field ('__unused') instead of IDA's empty
'Failed to parse'; the type is left unchanged and the editor keeps your text.
- switching structs / starting new / closing with unsaved edits prompts to
discard first (ConfirmScreen), so edits aren't silently reloaded away.
Pilot: rejected save is loud/named/non-destructive; switching structs guards
unsaved edits. full suite 91/91.
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions
