Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.ClearSelection Method

Removes the selected text from the edit control.

procedure ClearSelection;

Use ClearSelection to delete the selected text from the edit control. If no text is selected, ClearSelection does nothing. If all the text is selected, ClearSelection clears all text, like the Clear method.

Calling ClearSelection does the same thing as sending the edit control a WM_CLEAR message.

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