|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fife.ui.rsyntaxtextarea.TokenMakerBase
org.fife.ui.rsyntaxtextarea.AbstractTokenMaker
public abstract class AbstractTokenMaker
An abstract implementation of the
TokenMaker interface. It should
be overridden for every language for which you want to provide
syntax highlighting.
Token| Field Summary | |
|---|---|
protected TokenMap |
wordsToHighlight
Hash table of words to highlight and what token type they are. |
| Fields inherited from class org.fife.ui.rsyntaxtextarea.TokenMakerBase |
|---|
currentToken, firstToken, previousToken |
| Constructor Summary | |
|---|---|
AbstractTokenMaker()
Constructor. |
|
| Method Summary | |
|---|---|
abstract TokenMap |
getWordsToHighlight()
Returns the words to highlight for this programming language. |
void |
removeLastToken()
Removes the token last added from the linked list of tokens. |
| Methods inherited from class org.fife.ui.rsyntaxtextarea.TokenMakerBase |
|---|
addNullToken, addToken, addToken, addToken, createOccurrenceMarker, getClosestStandardTokenTypeForInternalType, getCurlyBracesDenoteCodeBlocks, getInsertBreakAction, getLanguageIndex, getLastTokenTypeOnLine, getLineCommentStartAndEnd, getMarkOccurrencesOfTokenType, getOccurrenceMarker, getShouldIndentNextLineAfter, isIdentifierChar, isMarkupLanguage, resetTokenList, setLanguageIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.fife.ui.rsyntaxtextarea.TokenMaker |
|---|
getTokenList |
| Field Detail |
|---|
protected TokenMap wordsToHighlight
Token.RESERVED_WORD or
Token.FUNCTION.
| Constructor Detail |
|---|
public AbstractTokenMaker()
| Method Detail |
|---|
public abstract TokenMap getWordsToHighlight()
TokenMap containing the words to highlight for
this programming language.public void removeLastToken()
TokenMaker if necessary.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||