DefaultDamagerRepairerpublic class RuleBasedDamagerRepairer extends DefaultDamagerRepairer
fDefaultTextAttribute, fDocument, fScanner| Constructor and Description |
|---|
RuleBasedDamagerRepairer(RuleBasedScanner scanner)
Deprecated.
Creates a damager/repairer that uses the given scanner.
|
RuleBasedDamagerRepairer(RuleBasedScanner scanner,
TextAttribute defaultTextAttribute)
Deprecated.
use RuleBasedDamagerRepairer(RuleBasedScanner) instead
|
addRange, createPresentation, endOfLineOf, getDamageRegion, getTokenTextAttribute, setDocumentpublic RuleBasedDamagerRepairer(RuleBasedScanner scanner, TextAttribute defaultTextAttribute)
scanner - the rule based scanner to be useddefaultTextAttribute - the text attribute to be returned if none is specified by the current token,
may not be nullpublic RuleBasedDamagerRepairer(RuleBasedScanner scanner)
null
and is assumed to return only token that carry text attributes.scanner - the rule based scanner to be used, may not be nullGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.