pub fn register_undo_tools(
reg: &mut CapabilityRegistry,
state: SharedEditorState,
stack: SharedCommandStack<EditorState>,
)Expand description
Hängt Undo/Redo-Capabilities an die Registry. Der Stack und der Editor-Zustand werden geteilt (Arc<Mutex<…>>) — doppelte Adressierbarkeit.