IndentRule
CloseBracketIndentRule
, OpenBracketIndentRule
public abstract class BracketIndentRule extends java.lang.Object implements IndentRule
Modifier and Type | Class | Description |
---|---|---|
static class |
BracketIndentRule.Brackets |
Modifier and Type | Field | Description |
---|---|---|
protected char |
closeBracket |
|
protected char |
openBracket |
Constructor | Description |
---|---|
BracketIndentRule(char openBracket,
char closeBracket) |
Modifier and Type | Method | Description |
---|---|---|
BracketIndentRule.Brackets |
getBrackets(JEditBuffer buffer,
int lineIndex) |
|
BracketIndentRule.Brackets |
getBrackets(JEditBuffer buffer,
int lineIndex,
int begin,
int end) |
|
java.lang.String |
toString() |
apply
public BracketIndentRule.Brackets getBrackets(JEditBuffer buffer, int lineIndex)
public BracketIndentRule.Brackets getBrackets(JEditBuffer buffer, int lineIndex, int begin, int end)
public java.lang.String toString()
toString
in class java.lang.Object