Skip to content

XUICELocation

Description

Represents a location within the code editor.

Properties

Name Type Read-Only
ActuallyOverLine Boolean
CaretPos Integer
Column Integer
Line XUICELine

Methods

Name Parameters Returns
Constructor line As XUICELine, caretPos As Integer, column As Integer, overLine As Boolean
ToString String

Property Descriptions

ActuallyOverLine As Boolean

True if the location is actually over the line (not before or after it).


CaretPos As Integer

0-based caret position.


Column As Integer

0-based column.


Line As XUICELine

The line referenced by this location.


Method Descriptions

Constructor(line As XUICELine, caretPos As Integer, column As Integer, overLine As Boolean)

Default constructor.

  • The line containing this location.
  • caretPos is the 0-based caret position at this location.
  • overLine is True if the location is actually over a line (and not past its left or right edge).

ToString() As String

Returns a string representation of this location (line, col).