|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IndentRuleAction | |
|---|---|
| edu.rice.cs.drjava.model.definitions.indent | Provides a decision tree used to correctly indent the current line. |
| Uses of IndentRuleAction in edu.rice.cs.drjava.model.definitions.indent |
|---|
| Subclasses of IndentRuleAction in edu.rice.cs.drjava.model.definitions.indent | |
|---|---|
class |
ActionBracePlus
Aligns indentation of the current line to the character that opened the enclosing block or expression list. |
class |
ActionDoNothing
Indents the current line in the document to the indent level of the start of the contract or statement of the brace enclosing the current position, plus the given suffix. |
class |
ActionStartCurrStmtPlus
Indents the current line in the document to the indent level of the start of the statement that the cursor is currently on, plus the given suffix string. |
(package private) class |
ActionStartPrevLinePlus
Indents current line to the indent level of the previous line augmented by a suffix. |
(package private) class |
ActionStartPrevLinePlusMultiline
Indents the current line in the document to the indent level of the start of the previous line, adds several lines of text at that indent level, and moves the cursor to a particular line and position. |
(package private) class |
ActionStartPrevLinePlusMultilinePreserve
Indents the current line in the document to the indent level of the start of the previous line, preserving any text on the current line, and adds several lines of text at that indent level, and moves the cursor to a particular line and position. |
class |
ActionStartPrevStmtPlus
Indents the current line in the document to the indent level of the start of the statement previous to the one the cursor is currently on, plus the given suffix string. |
class |
ActionStartStmtOfBracePlus
Indents the current line in the document to the indent level of the start of the brace enclosing the start of the current line, plus the given suffix. |
| Fields in edu.rice.cs.drjava.model.definitions.indent declared as IndentRuleAction | |
|---|---|
private IndentRuleAction |
ActionBracePlusTest._action
|
| Methods in edu.rice.cs.drjava.model.definitions.indent that return IndentRuleAction | |
|---|---|
private IndentRuleAction |
ActionStartPrevLinePlusTest.makeAction(String suffix)
This is a clever (IMHO) factory trick to reuse these methods in TestCases for logically similar IndentActions. |
private IndentRuleAction |
ActionStartPrevLinePlusMultilinePreserveTest.makeAction(String[] suffices,
int cursorLine,
int cursorPos,
int psrvLine,
int psrvPos)
A factory method that constructs the specified instance of IndentRuleAction. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||