set_highlight_syntax


Description:

public void set_highlight_syntax (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 [method@PrintCompositor.paginate] function.

Parameters:

this

a PrintCompositor.

highlight

whether syntax should be highlighted.