TextIntent
enum TextIntent extends uint8import TextIntent from Wax;Editing commands rather than raw keys. Insert and InsertFromPaste carry UTF-32 text; deletion, clipboard, history, and lifecycle cases describe actions for the editor to apply. A Paste request may be followed by a separate InsertFromPaste payload. Secret editors must refuse Cut and Copy.
Members
Nonecase
case None = 0x00MoveLeftcase
case MoveLeft = 0x01MoveRightcase
case MoveRight = 0x02MoveUpcase
case MoveUp = 0x03MoveDowncase
case MoveDown = 0x04MoveWordLeftcase
case MoveWordLeft = 0x05MoveWordRightcase
case MoveWordRight = 0x06MoveLineStartcase
case MoveLineStart = 0x07MoveLineEndcase
case MoveLineEnd = 0x08MoveDocumentStartcase
case MoveDocumentStart = 0x09MoveDocumentEndcase
case MoveDocumentEnd = 0x0AMovePageUpcase
case MovePageUp = 0x0BMovePageDowncase
case MovePageDown = 0x0CExtendLeftcase
case ExtendLeft = 0x11ExtendRightcase
case ExtendRight = 0x12ExtendUpcase
case ExtendUp = 0x13ExtendDowncase
case ExtendDown = 0x14ExtendWordLeftcase
case ExtendWordLeft = 0x15ExtendWordRightcase
case ExtendWordRight = 0x16ExtendLineStartcase
case ExtendLineStart = 0x17ExtendLineEndcase
case ExtendLineEnd = 0x18ExtendDocumentStartcase
case ExtendDocumentStart = 0x19ExtendDocumentEndcase
case ExtendDocumentEnd = 0x1AExtendPageUpcase
case ExtendPageUp = 0x1BExtendPageDowncase
case ExtendPageDown = 0x1CSelectAllcase
case SelectAll = 0x20DeleteBackwardcase
case DeleteBackward = 0x30DeleteForwardcase
case DeleteForward = 0x31DeleteWordBackwardcase
case DeleteWordBackward = 0x32DeleteWordForwardcase
case DeleteWordForward = 0x33DeleteLineBackwardcase
case DeleteLineBackward = 0x34DeleteLineForwardcase
case DeleteLineForward = 0x35Insertcase
case Insert = 0x40Inserts the supplied UTF-32 entry.
InsertFromPastecase
case InsertFromPaste = 0x41Inserts the supplied UTF-32 run as one paste operation.
InsertNewlinecase
case InsertNewline = 0x42InsertLineBreakcase
case InsertLineBreak = 0x43InsertTabcase
case InsertTab = 0x44Cutcase
case Cut = 0x50Requests cutting selected content; secret editors must refuse this operation.
Copycase
case Copy = 0x51Requests copying selected content; secret editors must refuse this operation.
Pastecase
case Paste = 0x52Requests pasting. The host may supply the actual content in a following InsertFromPaste event.
Undocase
case Undo = 0x60Redocase
case Redo = 0x61Commitcase
case Commit = 0x70Signals that the host is committing and closing text entry.
Cancelcase
case Cancel = 0x71Signals cancellation of text entry.
CompareTomethod
public fn CompareTo(TextIntent other) : int32Provided by the compiler.
Equalsmethod
public fn Equals(TextIntent other) : boolProvided by the compiler.
GetHashCodemethod
public fn GetHashCode() : uint32Provided by the compiler.
ToStringmethod
public fn ToString() : stringProvided by the compiler.
ToStringBuffermethod
public fn ToStringBuffer(StringBuilder builder) : int32Provided by the compiler.