Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.CurrentUserRange Method

Returns current user range.

function CurrentUserRange: TUserRange;

If there is no selection, CurrentUserRange returns nearest user range that contains caret position. 

If there is a selection, CurrentUserRange returns user range that has the same bounds as current selection.

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