TextEdit.CharPosAtLineNum
From Xojo Documentation
![]() |
This item was deprecated in version 2019r2. Please use TextEdit.CharacterPosition as a replacement. |
Method
TextEdit.CharPosAtLineNum(LineNumber as Integer) As Integer
Supported for all project types and targets.
Supported for all project types and targets.
Returns as an Integer the character position in the control of the first character on the LineNumber line.
Notes
Characters are numbered consecutively from the start until the end of the control. The first character is numbered 1. The first line is numbered zero.
Example
This example gets the character position of the first character of the second line.