EControl Syntax Editor SDK
TTextFinder.Find Method

Search FindText in the Text.

function Find(const Text: ecString; var StrtPos: integer; var EndPos: integer; ToBack: Boolean; CodePage: integer): Boolean;

Search a string FindText in a range from StrtPos to EndPos of the Text. ToBack parameter specifies direction of search. 

If function succeeds result is True.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!