Uses of Interface
org.eclipse.jface.text.rules.IRule
-
Packages that use IRule Package Description org.eclipse.jface.text.rules Provides a framework for rule based text scanning and uses the framework to provide rule-driven default implementations ofIPresentationDamager
,IPresentationRepairer
andIDocumentPartitioner
. -
-
Uses of IRule in org.eclipse.jface.text.rules
Subinterfaces of IRule in org.eclipse.jface.text.rules Modifier and Type Interface Description interface
IPredicateRule
Defines the interface for a rule used in the scanning of text for the purpose of document partitioning or text styling.Classes in org.eclipse.jface.text.rules that implement IRule Modifier and Type Class Description class
EndOfLineRule
A specific configuration of a single line rule whereby the pattern begins with a specific sequence but is only ended by a line delimiter.class
MultiLineRule
A rule for detecting patterns which begin with a given sequence and may end with a given sequence thereby spanning multiple lines.class
NumberRule
An implementation ofIRule
detecting a numerical value.class
PatternRule
Standard implementation ofIPredicateRule
.class
SingleLineRule
A specific configuration of pattern rule whereby the pattern begins with a specific sequence and may end with a specific sequence, but will not span more than a single line.class
WhitespaceRule
An implementation ofIRule
capable of detecting whitespace.class
WordPatternRule
A specific single line rule which stipulates that the start and end sequence occur within a single word, as defined by a word detector.class
WordRule
An implementation ofIRule
capable of detecting words.Fields in org.eclipse.jface.text.rules declared as IRule Modifier and Type Field Description protected IRule[]
RuleBasedScanner. fRules
The list of rules of this scannerMethods in org.eclipse.jface.text.rules with parameters of type IRule Modifier and Type Method Description void
RuleBasedPartitionScanner. setRules(IRule[] rules)
Disallow setting the rules since this scanner exclusively uses predicate rules.void
RuleBasedScanner. setRules(IRule[] rules)
Configures the scanner with the given sequence of rules.
-