The highlight_updated signal is emitted when the syntax highlighting and context classes are updated in a certain region of the buffer.
buffer
the start of the updated region
the end of the updated region