Docsv3.31.0
Back to API Reference
Class

ByRule

sealed
Implements:IMarkupSelector

Targets markup parsed by a rule with a given ParseRule.Identity (case-insensitive) — tag:b, marker:**, or a singleton's full type name. The most specific selector.

public string Identity{ get; set }

Case-insensitive parse-rule identity matched by this selector.

public int Specificity{ get }
public bool Matches(ParseRule r, BaseModifier m)
public Action Changed

Raised after configuration changes that can affect matching or specificity. Mutable custom implementations must raise this for every such change so an owning chrome rule can reconcile.