TextHighlighter.RegisterState (gb.highlight)

Function RegisterState ( Name As String ) As Integer

Register a state for that highlighter.

  • Name: The name of the state.

The function returns the state index that must be used to fill the highlight array.