SourcePrintCompositor.setHighlightSyntax

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 gtk_source_print_compositor_paginate() function.

class SourcePrintCompositor
void
setHighlightSyntax
()

Parameters

highlight bool

whether syntax should be highlighted.

Meta