com.pvx.ooadide.editors.autoindent
Class PvxPairMatcher

java.lang.Object
  extended by com.pvx.ooadide.editors.autoindent.PvxPairMatcher
All Implemented Interfaces:
org.eclipse.jface.text.source.ICharacterPairMatcher

public class PvxPairMatcher
extends java.lang.Object
implements org.eclipse.jface.text.source.ICharacterPairMatcher


Field Summary
 
Fields inherited from interface org.eclipse.jface.text.source.ICharacterPairMatcher
LEFT, RIGHT
 
Constructor Summary
PvxPairMatcher(char[] pairs)
           
 
Method Summary
 void clear()
           
 void dispose()
           
 int getAnchor()
           
 org.eclipse.jface.text.IRegion match(org.eclipse.jface.text.IDocument document, int offset)
           
 void setSourceVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PvxPairMatcher

public PvxPairMatcher(char[] pairs)
Method Detail

match

public org.eclipse.jface.text.IRegion match(org.eclipse.jface.text.IDocument document,
                                            int offset)
Specified by:
match in interface org.eclipse.jface.text.source.ICharacterPairMatcher

getAnchor

public int getAnchor()
Specified by:
getAnchor in interface org.eclipse.jface.text.source.ICharacterPairMatcher

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.text.source.ICharacterPairMatcher

clear

public void clear()
Specified by:
clear in interface org.eclipse.jface.text.source.ICharacterPairMatcher

setSourceVersion

public void setSourceVersion(java.lang.String version)