TextEditor.HighlightString (gb.form.editor)

Sub HighlightString ( Text As String [ , IgnoreCase As Boolean, WordOnly As Boolean ] )

Highlight a specific string everywhere in the editor.

  • Text is the text to highlight.

  • If IgnoreCase is TRUE, then the text case is ignored.

  • If WordOnly is TRUE, then text is highlighted only if it is a entire word.

The text is highlighted with the Highlight.Highlight color.