comp • gb.qt4.ext • editor • highlight

Editor.Highlight (gb.qt4.ext)

Property Highlight As Integer

Return or set the highlight mode.

It can be one of the following constants:

Highlight.None No highlighting.
Highlight.Gambas Gambas syntax highlighting.
Highlight.Custom Custom syntax highlighting.
Highlight.Css CSS highlighting.
Highlight.Html HTML highlighting.
Highlight.JavaScript JavaScript highlighting.
Highlight.Diff Diff output highlighting.

When Highlight.Custom is used, the Highlight event is raised each time a line should be higlighted.