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

TerLineSelected

Check if a text line is selected in the highlighted block of text.

bool TerLineSelected( LineNo)
int LineNo; text line number.

Return Value: This function returns true if a text block is highlighted in the control and the given line is also highlighted. It also returns true if no text block is highlighted in the editor. It returns false if a text block is highlighted but the given line is not.