Back to API Reference
Struct
TextCommandContext
sealed
The field a TextCommand is asked about or run against, in its state at that moment.
public UniTextSelectable Selectable{ get }Selection component of the field; its Selection is what a command acts on.
public UniTextEditable Editable{ get }Enabled editing layer of the field, or for read-only selectable text.
public CapturedSelection CaptureSelection()Captures the selection for a replacement that arrives later, after asynchronous work.
