Package | Description |
---|---|
org.gjt.sp.jedit.indent |
Indentation rules and actions.
|
Modifier and Type | Class and Description |
---|---|
static class |
IndentAction.AlignOffset |
static class |
IndentAction.AlignParameter
Indent action used for deep indent.
|
static class |
IndentAction.Collapse
See comments for each instance of this class below.
|
static class |
IndentAction.Decrease |
static class |
IndentAction.Increase |
static class |
IndentAction.NoIncrease
Used to cancel increases in indentation.
|
static class |
IndentAction.Reset |
Modifier and Type | Method and Description |
---|---|
void |
RegexpIndentRule.apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List<IndentAction> indentActions) |
void |
WhitespaceRule.apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List<IndentAction> indentActions) |
void |
IndentRule.apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List<IndentAction> indentActions)
Apply the indent rule to this line, and return an indent action.
|
void |
OpenBracketIndentRule.apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List<IndentAction> indentActions) |
void |
CloseBracketIndentRule.apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List<IndentAction> indentActions) |
void |
DeepIndentRule.apply(JEditBuffer buffer,
int thisLineIndex,
int prevLineIndex,
int prevPrevLineIndex,
java.util.List<IndentAction> indentActions) |
Constructor and Description |
---|
RegexpIndentRule(java.lang.String regexp,
IndentAction prevPrev,
IndentAction prev,
IndentAction thisLine,
boolean collapse) |