org.gjt.sp.jedit.indent
Class CloseBracketIndentRule
java.lang.Object
org.gjt.sp.jedit.indent.BracketIndentRule
org.gjt.sp.jedit.indent.CloseBracketIndentRule
- All Implemented Interfaces:
- IndentRule
public class CloseBracketIndentRule
- extends BracketIndentRule
Method Summary |
void |
apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List indentActions)
Apply the indent rule to this line, and return an indent action. |
boolean |
isMatch(java.lang.String line)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CloseBracketIndentRule
public CloseBracketIndentRule(char closeBracket,
boolean aligned)
apply
public void apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List indentActions)
- Description copied from interface:
IndentRule
- Apply the indent rule to this line, and return an indent action.
isMatch
public boolean isMatch(java.lang.String line)