TextInput.pushSnapshot

Push the given state snapshot (value, caret & selection) into the undo stack. Refuses to push if the current state can be merged with it, unless forcePushSnapshot is used.

A snapshot pushed through forcePushSnapshot will break continuity — it will not be merged with any other snapshot.

class TextInput
void
pushSnapshot

Meta