EControl Syntax Editor SDK
TTextRange.EndIdx Property

Indicates index of the last token in the text range.

property EndIdx: integer;

Initially EndIdx is equal to -1. It indicates that text range is opened (has no end). 

EndIdx is determined when text range is being closed. 

It is equal to index, where ending block rule is testing, minus BlockOffset of this rule.

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