Links
EControl Syntax Editor SDK
TRuleCollectionItem.StrictParent Property

Specifies whether Block is rule of the immediate parent text range.

property StrictParent: Boolean;

 

"Strict" parent text range - last opened text range, i.e. it is immediate parent.

StrictParent value 
Results of testing parent text range is True, if 
False 
(Block = nil) or there is opened text range that has start rule = Block
True 
(Block = nil) and there are no opened blocks or (Block <> nil) and last opened text range that has start rule = Block
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!