Highlighters

highlighters of code for TextArea.highlighter

Properties

Link copied to clipboard
var commentColor: ColorRGBa
Link copied to clipboard

the expressions of orx-expression-evaluator, typed or not, see ExpressionArea

Link copied to clipboard
var functionColor: ColorRGBa
Link copied to clipboard

GLSL, like the code of shade styles

Link copied to clipboard
var keywordColor: ColorRGBa

colors for the kinds of words

Link copied to clipboard

Kotlin

Link copied to clipboard
var numberColor: ColorRGBa
Link copied to clipboard
var stringColor: ColorRGBa
Link copied to clipboard
var typeColor: ColorRGBa

Functions

Link copied to clipboard
fun of(keywords: Set<String>, types: Set<String>, comment: String = "//"): (String) -> List<Highlight>

a highlighter of keywords and types, numbers, strings and comments after comment