TextEditor.Highlight (gb.form.editor)

Property Highlight As String

Returns or sets the highlighting syntax that is used by the TextEditor.

The data required is the lowerclass name of the highlighting syntax, not one of the Highlight class constants.

Example

Dim TextEditor1 As TextEditor

TextEditor1.Highlight = "gambas"