java.lang.Object
org.gjt.sp.jedit.syntax.SyntaxUtilities
Contains utility functions used by the syntax highlighting code.
- Since:
- jEdit 4.2pre1
- Version:
- $Id: SyntaxUtilities.java 21831 2012-06-18 22:54:17Z ezust $
- Author:
- Slava Pestov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
regionMatches
(boolean ignoreCase, Segment text, int offset, char[] match) Checks if a subregion of aSegment
is equal to a character array.
-
Constructor Details
-
SyntaxUtilities
public SyntaxUtilities()
-
-
Method Details
-
regionMatches
Checks if a subregion of aSegment
is equal to a character array.- Parameters:
ignoreCase
- True if case should be ignored, false otherwisetext
- The segmentoffset
- The offset into the segmentmatch
- The character array to match- Returns:
- true if the subregion of the segment was equals to the character array
- Since:
- jEdit 4.2pre1
-