Optional ReadonlyafterRun once the typed character is in the document, as an undo step of its
own, instead of in its place: Word's AutoFormat as you type, which Ctrl+Z
takes back leaving what was typed. match then sees the text up to and
including the character, from the last inline node before it (shown as
U+FFFC), and so also fires after a footnote marker or an equation. See
applyTypedTextRules.
ReadonlymatchReadonlyrun
A pattern-triggered transform.
matchruns against the block text from its start to the caret plus the just-typed character, and must anchor at the end ($). When it fires, the typed character is never inserted. The rule produces the whole transaction.