const (
TextDeleteBackward TextCommand = iota + 1
TextDeleteForward
TextMoveLeft
TextMoveRight
TextMoveLeftAndModifySelection
TextMoveRightAndModifySelection
TextInsertNewline
TextInsertTab
// TextInsertLineBreak is a line break asked for without ending the entry:
// Shift+Enter (and Option or Control+Enter on macOS). A chat box submits on
// TextInsertNewline and adds a line on this one.
TextInsertLineBreak
TextUndo
TextRedo
TextSelectAll
TextMoveLineStart
TextMoveLineEnd
TextMoveLineStartAndModifySelection
TextMoveLineEndAndModifySelection
TextMoveDocumentStart
TextMoveDocumentEnd
TextMoveDocumentStartAndModifySelection
TextMoveDocumentEndAndModifySelection
TextMoveWordLeft
TextMoveWordRight
TextMoveWordLeftAndModifySelection
TextMoveWordRightAndModifySelection
TextDeleteWordBackward
TextDeleteWordForward
)Type TextCommand
type TextCommand uint8TextCommand identifies one platform-normalized editing command.