EControl Syntax Editor SDK
TCustomSyntaxMemo.SelRect Property

Specifies the selected columnar block.

property SelRect: TRect;

SelRect is valid only when SelectMode is msColumn. Top and Bottom elements of the SelRect specify first and last lines correspondingly. Left and Right elements of the SelRect specify extended (logical) zero-based character indexes in the line. 

Logical indexes are zero-based indexes in string with extended tab characters. See also LogToLinesPos and ExpandTabs methods to get more understanding of the logical indexes.

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