public static class IndentAction.Collapse extends java.lang.Object implements IndentAction
IndentAction.AlignOffset, IndentAction.AlignParameter, IndentAction.Collapse, IndentAction.Decrease, IndentAction.Increase, IndentAction.NoIncrease, IndentAction.ResetPrevCollapse, PrevPrevCollapse| Modifier and Type | Method and Description |
|---|---|
int |
calculateIndent(JEditBuffer buffer,
int line,
int oldIndent,
int newIndent)
This does nothing; it is merely a sentinel for the
OpenBracketIndentRule. |
boolean |
keepChecking() |
public int calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
OpenBracketIndentRule.calculateIndent in interface IndentActionbuffer - 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