TE Edit Control Java / HTML-JavaScript Help
Product page

TerLocateStyleChar

Locate the character with the given style.

boolean TerLocateStyleChar(style, present, StartLine, StartCol, forward)
int style;Style bits. See TerLocateStyle function for the detail.
boolean 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, you can retrieve the new 'StartLine' value using the TerGetOutInt method where a character with the given style is found:

StartLine=tej.TerGetOutInt("StartLine");

int StartCol:

(INPUT/OUTPUT) Specifies the column number to start the search. On a successful search, you can retrieve the new 'StartCol' value using the TerGetOutInt method where a character with the given style is found:

StartCol=tej.TerGetOutInt("StartCol");

boolean 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.