EControl Syntax Editor SDK
TSyntAutoReplace.DoReplace Method

Replaces substring in SyntMemo text with AReplace string and calls OnAutoReplace event.

function DoReplace(var AReplace: ecString; WStart: integer; WLength: integer): Boolean;

DoReplace method replaces WLength characters from WStart position in SyntMemo text with AReplace string.

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