Class IndentAction.AlignParameter
java.lang.Object
org.gjt.sp.jedit.indent.IndentAction.AlignParameter
- All Implemented Interfaces:
IndentAction
- Enclosing interface:
IndentAction
Indent action used for deep indent.
- Version:
- $Id: IndentAction.java 21831 2012-06-18 22:54:17Z ezust $
- Author:
- Matthieu Casanova
-
Nested Class Summary
Nested classes/interfaces inherited from interface IndentAction
IndentAction.AlignOffset, IndentAction.AlignParameter, IndentAction.Collapse, IndentAction.Decrease, IndentAction.Increase, IndentAction.NoIncrease, IndentAction.Reset -
Field Summary
Fields inherited from interface IndentAction
PrevCollapse, PrevPrevCollapse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcalculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent) boolean
-
Constructor Details
-
AlignParameter
public AlignParameter(int openParensColumn)
-
-
Method Details
-
calculateIndent
- Specified by:
calculateIndentin interfaceIndentAction- Parameters:
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.
-
keepChecking
public boolean keepChecking()- Specified by:
keepCheckingin interfaceIndentAction- Returns:
- true if the indent engine should keep processing after this rule.
-