DefaultDamagerRepairer
public 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, setDocument
public 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 null
public 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 null
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.