Package org.gjt.sp.jedit.indent
Class IndentAction.Collapse
- java.lang.Object
-
- org.gjt.sp.jedit.indent.IndentAction.Collapse
-
- All Implemented Interfaces:
IndentAction
- Enclosing interface:
- IndentAction
public static class IndentAction.Collapse extends java.lang.Object implements IndentAction
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
This does nothing; it is merely a sentinel for theOpenBracketIndentRule
.boolean
keepChecking()
-
-
-
Method Detail
-
calculateIndent
public int calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
This does nothing; it is merely a sentinel for theOpenBracketIndentRule
.- Specified by:
calculateIndent
in 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:
keepChecking
in interfaceIndentAction
- Returns:
- true if the indent engine should keep processing after this rule.
-
-