Skip to main content

Module undo

Module undo 

Source
Expand description

Form-level undo / redo.

  • Snapshot before each mutating edit.
  • Coalesce consecutive typing / single-char deletes within a short window.
  • Atomic edits (paste, word-delete, newline, structure) always split.
  • New edits clear redo; caret and selection are part of the snapshot.

Structs§

History
Undo/redo stacks for one form dialog.

Enums§

EditKind
How an upcoming edit should group with the previous one.