Class

XojoScriptLocation


Description

Used to indicate information about a location in XojoScript code.

Properties

Name

Type

Read-Only

Shared

Character

Integer

Column

Integer

EndCharacter

Integer

EndColumn

Integer

EndLine

Integer

Line

Integer

Property descriptions


XojoScriptLocation.Character

Character As Integer

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.

This property is read-only.


XojoScriptLocation.Column

Column As Integer

The starting column of the script error or warning (0-based).

This property is read-only.

If the column value is -1 then that means the entire line has an error (for example, if the syntax is completely invalid).


XojoScriptLocation.EndCharacter

EndCharacter As Integer

The ending character of the part of the script with an error or warning.

This property is read-only.


XojoScriptLocation.EndColumn

EndColumn As Integer

The ending column of the script error or warning (0-based).

This property is read-only.

If the column value is -1 then that means the entire line has an error (for example, if the syntax is completely invalid).


XojoScriptLocation.EndLine

EndLine As Integer

The ending line number of the script error or warning (1-based).

This property is read-only.


XojoScriptLocation.Line

Line As Integer

The starting line number of the script error or warning (1-based).

This property is read-only.

Compatibility

All project types on all supported operating systems.

See also

Object parent class; XojoScript, XojoScript.Errors