TextHighlighterTheme.GetStateIndex (gb.highlight)

Static Function GetStateIndex ( Key As String ) As Integer

Return the index of a specific state.

  • Key is the state key.

If the state key is either "Normal" or "", then 0 is returned.

If no state has been registered with that key, -1 is returned.