|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
edu.rice.cs.drjava.model.definitions.indent.IndentRuleAction
edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevLinePlus
class ActionStartPrevLinePlus
Indents current line to the indent level of the previous line augmented by a suffix.
| Field Summary | |
|---|---|
private java.lang.String |
_suffix
|
| Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace |
|---|
NO, TERMINUS_RULE, YES |
| Constructor Summary | |
|---|---|
ActionStartPrevLinePlus(java.lang.String suffix)
Repeats the indentation from the previous line augmented by a suffix |
|
| Method Summary | |
|---|---|
boolean |
indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Indents the line according to the previous line, with the suffix string added. |
| Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace |
|---|
_addToIndentTrace, getRuleName, getTrace, indentLine, printLastIndentTrace, setRuleTraceEnabled, testIndentLine, testIndentLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String _suffix
| Constructor Detail |
|---|
public ActionStartPrevLinePlus(java.lang.String suffix)
suffix - The string to be added| Method Detail |
|---|
public boolean indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
indentLine in interface IndentRuleindentLine in class IndentRuleWithTracedoc - AbstractDJDocument containing the line to be indented.reason - The reason that the indentation is taking place
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||