org.eclipse.jface.text.rules
Class RuleBasedDamagerRepairer
java.lang.Object
|
+--org.eclipse.jface.text.rules.DefaultDamagerRepairer
|
+--org.eclipse.jface.text.rules.RuleBasedDamagerRepairer
- All Implemented Interfaces:
- IPresentationDamager, IPresentationRepairer
Deprecated. use DefaultDamagerRepairer
- public class RuleBasedDamagerRepairer
- extends DefaultDamagerRepairer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleBasedDamagerRepairer
public RuleBasedDamagerRepairer(RuleBasedScanner scanner,
TextAttribute defaultTextAttribute)
- Deprecated. use RuleBasedDamagerRepairer(RuleBasedScanner) instead
- Creates a damager/repairer that uses the given scanner and returns the given default
text attribute if the current token does not carry a text attribute.
- Parameters:
scanner
- the rule based scanner to be useddefaultTextAttribute
- the text attribute to be returned if non is specified by the current token,
may not be null
RuleBasedDamagerRepairer
public RuleBasedDamagerRepairer(RuleBasedScanner scanner)
- Deprecated.
- Creates a damager/repairer that uses the given scanner. The scanner may not be
null
and is assumed to return only token that carry text attributes.
- Parameters:
scanner
- the rule based scanner to be used, may not be null
- Since:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.