EControl Syntax Editor SDK
TCustomSyntaxMemo.ReplaceText Method

Replaces some portion of the text with the RepStr string.

function ReplaceText(Pos: integer; Count: integer; RepStr: ecString): Boolean;

ReplaceText deletes Count characters from Pos zero-based position and inserts RepStr string. If NoUpdate is False, editor will not be invalidated to reflect text changes.

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