setHighlightSyntax

open fun setHighlightSyntax(highlight: Boolean)

Sets whether the printed text will be highlighted according to the buffer rules. Both color and font style are applied.

This function cannot be called anymore after the first call to the method@PrintCompositor.paginate function.

Parameters

highlight

whether syntax should be highlighted.