| java.lang.Object org.gjt.sp.jedit.syntax.TokenMarker
TokenMarker | public class TokenMarker (Code) | | A token marker splits lines of text into tokens. Each token carries
a length field and an identification tag that can be mapped to a color
or font style for painting that token.
author: Slava Pestov, mike dillon version: $Id: TokenMarker.java 11079 2007-11-16 03:20:00Z vanza $ See Also: org.gjt.sp.jedit.syntax.Token See Also: org.gjt.sp.jedit.syntax.TokenHandler |
Inner Class :public static class LineContext | |
TokenMarker | public TokenMarker()(Code) | | |
markTokens | public LineContext markTokens(LineContext prevContext, TokenHandler tokenHandler, Segment line)(Code) | | Do not call this method directly; call Buffer.markTokens() instead.
Parameters: prevContext - the context of the previous line, it can be null Parameters: tokenHandler - the token handler Parameters: line - a segment containing the content of the line |
|
|