Gambas Documentation
Documents

_TextEditor_Line.Highlight (gb.form.editor)

Function Highlight ( ByRef Tokens As String[] [ , ByRef States As String[], ByRef Positions As Integer[], RemoveSpaces As Boolean ] ) As Boolean

Return the highlighting of the line.

  • Tokens : The list of different tokens.

  • States : The name of each token state.

  • Positions : The position of the token in the line.

  • RemoveSpaces : Remove tokens that represents spaces.

This function returns TRUE if there is no highlighting.