Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.SelText Property

Specifies the selected portion of the editor's text.

property SelText: ecString;

Read SelText to determine the value of the selected text. Set SelText to replace the selected text with a new string. If there is no selection, but the edit control has focus, set SelText to insert a new string into the text at the caret position.

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