CodeHighlighter
classin packageklyn.gui.terminal.syntax
public class CodeHighlighter extends Object implements SyntaxHighlighter:
└ CodeHighlighter
All Implemented Interfaces: SyntaxHighlighter
Generic line-oriented highlighter for C-like languages.
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public CodeHighlighter
CodeHighlighter(keywords as ArrayList<String> = [], lineCommentToken as String = "", caseInsensitiveKeywords as Boolean = false):
No summary.
Methods
Modifier and Type Member Description
public highlight
highlight(line as String) as List<StyledSpan>:
No summary.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Methods inherited from SyntaxHighlighter: highlight