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

TerLocateStyleChar

Locate the character with the given style.

bool TerLocateStyleChar(style, present, ref StartLine, ref StartCol, forward)
int style;Style bits. See TerLocateStyle function for the detail.
bool present;true to test for the presence of the given style, or false to test for the absence of the given style.
int StartLine:(INPUT/OUTPUT) Specifies the line number to start the search. On a successful search, this field contains the line number of the located text.
int StartCol:(INPUT/OUTPUT) Specifies the column number to start the search. On a successful search, this field contains the column number of the located text.
bool forward;true to scan the text in the forward direction, or false to scan the text in the backward direction.

Return Value: This function returns a true value when successful.