public static class IndentAction.AlignParameter extends java.lang.Object implements IndentAction
IndentAction.AlignOffset, IndentAction.AlignParameter, IndentAction.Collapse, IndentAction.Decrease, IndentAction.Increase, IndentAction.NoIncrease, IndentAction.Reset
PrevCollapse, PrevPrevCollapse
Constructor and Description |
---|
AlignParameter(int openParensColumn) |
Modifier and Type | Method and Description |
---|---|
int |
calculateIndent(JEditBuffer buffer,
int line,
int oldIndent,
int newIndent) |
boolean |
keepChecking() |
public int calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
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