SourceBuffer.ensureHighlight

Forces buffer to analyze and highlight the given area synchronously.

<note> <para> This is a potentially slow operation and should be used only when you need to make sure that some text not currently visible is highlighted, for instance before printing. </para> </note>

class SourceBuffer
void
ensureHighlight

Parameters

start TextIter

start of the area to highlight.

end TextIter

end of the area to highlight.