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 of
IPresentationDamager, IPresentationRepairer and IDocumentPartitioner.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IPredicateRule
Defines the interface for a rule used in the scanning of text for the purpose of
document partitioning or text styling.
|
Modifier and Type | Class and 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 of
IRule detecting a numerical value. |
class |
PatternRule
Standard implementation of
IPredicateRule . |
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 of
IRule 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 of
IRule capable of detecting words. |
Modifier and Type | Field and Description |
---|---|
protected IRule[] |
RuleBasedScanner.fRules
The list of rules of this scanner
|
Modifier and Type | Method and Description |
---|---|
void |
RuleBasedScanner.setRules(IRule[] rules)
Configures the scanner with the given sequence of rules.
|
void |
RuleBasedPartitionScanner.setRules(IRule[] rules)
Disallow setting the rules since this scanner
exclusively uses predicate rules.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.