|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gjt.sp.jedit.syntax.SyntaxUtilities
Contains utility functions used by the syntax highlighting code.
Constructor Summary | |
SyntaxUtilities()
|
Method Summary | |
static boolean |
regionMatches(boolean ignoreCase,
javax.swing.text.Segment text,
int offset,
char[] match)
Checks if a subregion of a Segment is equal to a
character array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SyntaxUtilities()
Method Detail |
public static boolean regionMatches(boolean ignoreCase, javax.swing.text.Segment text, int offset, char[] match)
Segment
is equal to a
character array.
ignoreCase
- True if case should be ignored, false otherwisetext
- The segmentoffset
- The offset into the segmentmatch
- The character array to match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |