Files
vectorcraft/crates
dotCooCoo 9d8ecd1341 DXF Import: a failed Replace restores the selection after unrelated edits
The user's selection came back only while the document revision was
unchanged, so a Replace whose rollback raised the revision, or any edit
that left the selection alone, kept the swapped object selected.

DocState now counts selection changes (`selections`): every
Session::select, Undo and Redo, leaving isolation, and any command or
batch step that leaves another selection. A failed command that selected
its ids first puts the count back with the selection. The selection
comes back when the count, the selection, the isolation and the user's
objects are unchanged; a symbol part needs the art unchanged.
2026-12-04 22:35:37 -08:00
..