pub fn apply_command(
value: &str,
state: &TextEditState,
cmd: Command,
now: f32,
) -> Option<(String, TextEditState)>Expand description
Execute a non-clipboard Command. Copy/Cut/Paste return None
— clipboard I/O is the caller’s job (rosace/src/engine.rs, which
already owns rosace-clipboard; this crate doesn’t depend on it).
Undo/Redo also return None on a genuinely empty stack; every
other command always returns Some (even a saturated move bumps
last_edit_at for the blink reset, matching Step 1).