highlightCode
fun highlightCode(code: String, tree: Tree, highlighter: Highlighter, putText: (text: String, classes: String) -> Unit, putBreak: () -> Unit, from: Int = 0, to: Int = code.length)
Highlight the given code string using the provided tree and highlighter, calling putText for each piece of text with its CSS classes, and putBreak at line breaks.