ConsoleLine

data class ConsoleLine(val text: String, val color: ColorRGBa? = null, val marks: List<TextMark> = emptyList(), val prompt: String? = null, val indent: Double = 0.0, val data: Any? = null, val wrapIndent: Double = indent)(source)

a line of a ConsoleLog: text in color, after prompt dimmed, with marks that color and underline spans of text, indent pixels from the left; data is what the line stands for, like for ConsoleLog.lineClicked. In a log that ConsoleLog.wraps its lines, the rows after the first start wrapIndent pixels from the left

Constructors

Link copied to clipboard
constructor(text: String, color: ColorRGBa? = null, marks: List<TextMark> = emptyList(), prompt: String? = null, indent: Double = 0.0, data: Any? = null, wrapIndent: Double = indent)

Properties

Link copied to clipboard
val color: ColorRGBa?
Link copied to clipboard
val data: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard