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

SetTerCursorPos

Set the cursor position

bool SetTerCursorPos( line, column, repaint)
int line;new line position of the cursor. Set to -1 to position at the end of the document.
int column;new column position of the cursor
bool repaint;true to refresh the window after this operation

Description: Use this function to set the new cursor position.

To specify the absolute cursor position, set the 'column' argument to -1, and specify the absolute position using the 'line' argument.

Return Value: This function returns true if successful.