EControl Syntax Editor SDK
TSyntToken.Rule Property

Refers to the rule.

property Rule: TRuleCollectionItem;

In most cases it refers to TTokenRule, that has been used to create this token. 

But it also may refer to TTagBlockCondition (keyword detector), that overwrote this property. 

Display style of the token is specified by the Rule.Style.

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