EControl Syntax Editor SDK
ecSyntDlg.TOnFindEvent Type

TOnFindEvent is the type of the OnFind event.

TOnFindEvent = procedure (Sender: TObject; StartPos, EndPos: integer; Accept: Boolean) of object;


StartPos and EndPos parameters define start and end positions of the search. 

Accept parameter defines whether search result is accepted.

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