org.gjt.sp.jedit.indent
Class OpenBracketIndentRule

java.lang.Object
  extended by org.gjt.sp.jedit.indent.BracketIndentRule
      extended by org.gjt.sp.jedit.indent.OpenBracketIndentRule
All Implemented Interfaces:
IndentRule

public class OpenBracketIndentRule
extends BracketIndentRule


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gjt.sp.jedit.indent.BracketIndentRule
BracketIndentRule.Brackets
 
Field Summary
 
Fields inherited from class org.gjt.sp.jedit.indent.BracketIndentRule
closeBracket, openBracket
 
Constructor Summary
OpenBracketIndentRule(char openBracket, boolean aligned)
           
 
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.
 
Methods inherited from class org.gjt.sp.jedit.indent.BracketIndentRule
getBrackets, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenBracketIndentRule

public OpenBracketIndentRule(char openBracket,
                             boolean aligned)
Method Detail

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.