PrintCompositor.setHighlightSyntax
void setHighlightSyntax(bool highlight)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 [gtksource.print_compositor.PrintCompositor.paginate] function.
Parameters
highlight | whether syntax should be highlighted. |