XojoScriptLocation.Character

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aXojoScriptLocation.Character

Supported for all project types and targets.

The starting character of the part of the script with an error or warning. Use in conjunction with EndCharacter to highlight the text in the script.