Class MultilineDamagerRepairer

  • All Implemented Interfaces:
    org.eclipse.jface.text.presentation.IPresentationDamager, org.eclipse.jface.text.presentation.IPresentationRepairer

    public class MultilineDamagerRepairer
    extends org.eclipse.jface.text.rules.DefaultDamagerRepairer
    • Field Summary

      • Fields inherited from class org.eclipse.jface.text.rules.DefaultDamagerRepairer

        fDefaultTextAttribute, fDocument, fScanner
    • Constructor Summary

      Constructors 
      Constructor Description
      MultilineDamagerRepairer​(org.eclipse.jface.text.rules.ITokenScanner scanner)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jface.text.IRegion getDamageRegion​(org.eclipse.jface.text.ITypedRegion partition, org.eclipse.jface.text.DocumentEvent e, boolean documentPartitioningChanged)  
      void setDefaultTextAttribute​(org.eclipse.jface.text.TextAttribute defaultTextAttribute)
      Configures the scanner's default return token.
      • Methods inherited from class org.eclipse.jface.text.rules.DefaultDamagerRepairer

        addRange, createPresentation, endOfLineOf, getTokenTextAttribute, setDocument
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultilineDamagerRepairer

        public MultilineDamagerRepairer​(org.eclipse.jface.text.rules.ITokenScanner scanner)
    • Method Detail

      • getDamageRegion

        public org.eclipse.jface.text.IRegion getDamageRegion​(org.eclipse.jface.text.ITypedRegion partition,
                                                              org.eclipse.jface.text.DocumentEvent e,
                                                              boolean documentPartitioningChanged)
        Specified by:
        getDamageRegion in interface org.eclipse.jface.text.presentation.IPresentationDamager
        Overrides:
        getDamageRegion in class org.eclipse.jface.text.rules.DefaultDamagerRepairer
      • setDefaultTextAttribute

        public void setDefaultTextAttribute​(org.eclipse.jface.text.TextAttribute defaultTextAttribute)
        Configures the scanner's default return token. This is the text attribute which is returned when none is returned by the current token.