|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.jedit.indent.IndentAction.Collapse
public static class IndentAction.Collapse
See comments for each instance of this class below.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.gjt.sp.jedit.indent.IndentAction |
---|
IndentAction.AlignOffset, IndentAction.AlignParameter, IndentAction.Collapse, IndentAction.Decrease, IndentAction.Increase, IndentAction.NoIncrease, IndentAction.Reset |
Field Summary |
---|
Fields inherited from interface org.gjt.sp.jedit.indent.IndentAction |
---|
PrevCollapse, PrevPrevCollapse |
Method Summary | |
---|---|
int |
calculateIndent(JEditBuffer buffer,
int line,
int oldIndent,
int newIndent)
This does nothing; it is merely a sentinel for the OpenBracketIndentRule . |
boolean |
keepChecking()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
OpenBracketIndentRule
.
calculateIndent
in interface IndentAction
buffer
- The bufferline
- The line number that matched the rule; not necessarily
the line being indented.oldIndent
- Original indent.newIndent
- The new indent -- ie, indent returned by previous
indent action.public boolean keepChecking()
keepChecking
in interface IndentAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |