const (
TextareaCommandNone TextareaCommand = iota
TextareaCommandInsertNewline
)类型 TextareaCommand
API 文档由 Go 源码生成,内容为英文。
type TextareaCommand uint8TextareaCommand is a request for the caller-owned editor. The component never applies commands or retains editor state itself.
常量
构造函数
TextareaCommandForKey#
func TextareaCommandForKey(snapshot TextareaSnapshot, key ui.Key) (TextareaCommand, bool)TextareaCommandForKey maps only keys owned by a multiline editor. Text insertion, deletion, movement, selection extension, and IME remain platform or application editor responsibilities.