Links
EControl Syntax Editor SDK
TecReplaceItem.DoReplace Method

Checks whether substring at the Pos position in the Text matches regular expression defined in FindText property and replaces it with ReplaceText.

function DoReplace(var Text: ecString; var Pos: integer): Boolean;

DoReplace method returns true if the substring matches the regular expression. Otherwise returns false.

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