xml
Class TagHighlight

java.lang.Object
  extended by xml.TagHighlight
All Implemented Interfaces:
org.gjt.sp.jedit.textarea.StructureMatcher

public class TagHighlight
extends java.lang.Object
implements org.gjt.sp.jedit.textarea.StructureMatcher

StructureMatcher finding the matching tag (open/close). This one uses xml.TagParser to find tags, contrary to SideKickTagHighlight, which uses xml.parser.javacc.TagParser

See Also:
SideKickTagHighlight

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gjt.sp.jedit.textarea.StructureMatcher
org.gjt.sp.jedit.textarea.StructureMatcher.BracketMatcher, org.gjt.sp.jedit.textarea.StructureMatcher.Highlight, org.gjt.sp.jedit.textarea.StructureMatcher.Match
 
Constructor Summary
TagHighlight()
           
 
Method Summary
 org.gjt.sp.jedit.textarea.StructureMatcher.Match getMatch(org.gjt.sp.jedit.textarea.TextArea textArea)
           
 void selectMatch(org.gjt.sp.jedit.textarea.TextArea textArea)
          Selects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagHighlight

public TagHighlight()
Method Detail

getMatch

public org.gjt.sp.jedit.textarea.StructureMatcher.Match getMatch(org.gjt.sp.jedit.textarea.TextArea textArea)
Specified by:
getMatch in interface org.gjt.sp.jedit.textarea.StructureMatcher

selectMatch

public void selectMatch(org.gjt.sp.jedit.textarea.TextArea textArea)
Selects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined).

Specified by:
selectMatch in interface org.gjt.sp.jedit.textarea.StructureMatcher
Since:
jEdit 4.2pre3