TE Edit Control .NET Core / .NET Framework Help
Product page

TerAbsToRowCol

Convert the given character position to the row and column position

void TerAbsToRowCol( abs, out row, out col)
int abs;character position (0 based) from the beginning of the file.
int row; location to return the line number (0 based)
int col;location to return the column number (0 based)

Description: This function converts the text position given in a number of characters from the beginning of the file to the row and column position.

Return Value: The line and column numbers are returned using the pointer specified by the third and fourth arguments.