xml
Class SideKickTagHighlight
java.lang.Object
xml.SideKickTagHighlight
- All Implemented Interfaces:
- org.gjt.sp.jedit.textarea.StructureMatcher
public class SideKickTagHighlight
- extends java.lang.Object
- implements org.gjt.sp.jedit.textarea.StructureMatcher
StructureMatcher finding the matching tag (open/close).
It uses
- first the current SideKick tree to go to the open tag very fase
- then xml.parser.javacc.TagParser, which will really parse this part of the buffer to get tag boundaries
| 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 |
|
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 |
SideKickTagHighlight
public SideKickTagHighlight()
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