Command Pattern Identification

You're building a text editor that supports undo/redo. Each user action (insert text, delete text, change formatting) needs to be recorded and reversible. Which behavioral pattern directly models this?