|
||||||||||
| 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.AbstractJFlexTokenMaker
org.fife.ui.rsyntaxtextarea.AbstractJFlexCTokenMaker
Base class for JFlex-based token makers using C-style syntax. This class knows how to auto-indent after opening braces and parens.
| Field Summary |
| Fields inherited from class org.fife.ui.rsyntaxtextarea.AbstractJFlexTokenMaker |
currentToken, firstToken, offsetShift, previousToken, s, start |
| Constructor Summary | |
AbstractJFlexCTokenMaker()
|
|
| Method Summary | |
boolean |
getCurlyBracesDenoteCodeBlocks()
Returns true always as C-style languages use curly braces
to denote code blocks. |
boolean |
getShouldIndentNextLineAfter(Token t)
The default implementation returns false always. Languages
that wish to better support auto-indentation can override this method. |
| Methods inherited from class org.fife.ui.rsyntaxtextarea.AbstractJFlexTokenMaker |
addNullToken, addToken, addToken, addToken, getLastTokenTypeOnLine, getLineCommentStartAndEnd, getMarkOccurrencesOfTokenType, isMarkupLanguage, resetTokenList, setWhitespaceVisible |
| 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 |
| Constructor Detail |
public AbstractJFlexCTokenMaker()
| Method Detail |
public boolean getCurlyBracesDenoteCodeBlocks()
true always as C-style languages use curly braces
to denote code blocks.
true always.public boolean getShouldIndentNextLineAfter(Token t)
false always. Languages
that wish to better support auto-indentation can override this method.
t - The token the previous line ends with.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||