类型 CodeEditorRun
API 文档由 Go 源码生成,内容为英文。
type CodeEditorRun struct {
Start, End int
Color ui.Color
}CodeEditorRun colors one byte range without changing its text geometry. Runs are ordered and non-overlapping; invalid and overlapping spans are ignored.