SourceBuffer.addOnHighlightUpdated

The ::highlight-updated signal is emitted when the syntax highlighting and [context classes][context-classes] are updated in a certain region of the @buffer.

class SourceBuffer
addOnHighlightUpdated

Meta