类型 TextEventKind

API 文档由 Go 源码生成,内容为英文。

type TextEventKind uint8

TextEventKind identifies one native text-system mutation.

常量

const (
	TextInsert TextEventKind = iota + 1
	TextSetMarked
	TextUnmark
	TextCommandEvent
	TextSetSelection
	// TextPaste is one pasteboard edit. It is a separate undo unit in an
	// ordinary editor; a terminal receives it as is, without line breaks
	// flattened, and decides how to forward it.
	TextPaste
)