mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 06:31:41 +00:00
A file read for Place, for the place cursor or dropped on the canvas, a bitmap read for Paste, and a paste waiting at its Swatch Conflict dialog are no longer placed or pasted in a document that File › Revert replaced while they waited. Revert keeps the document's tab and uid, so these were placed in the reverted content with the selection, clipboard and insertion context of the content it discarded. - DocState::reverts counts the Reverts of a document; replace_document increments it, and a batch that fails puts it back with the document. - Reads, deferred swatch pastes and web canvas drops keep the count they started with and are dropped, with a status message, when it changed. - A paste given after a Revert starts a chain of its own instead of following a paste given before it.