EControl Syntax Editor SDK
TRuleCollectionItem.Block Property

Specifies a rule of parent text range to test.

property Block: TTagBlockCondition;


Block - block rule of opened text range (when rule is being checked) that is tested for presence. When we test rule and there is opened text ranges, these text ranges will be parents for tested rule. 

See also StrictParent to uderstand parent rule ckecking. 

You can specify Block at design time changing BlockName property in object inspector.

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