|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Indenter.IndentReason | |
---|---|
edu.rice.cs.drjava.model | The model package is responsible for the majority of the logic
and state in DrJava. |
edu.rice.cs.drjava.model.definitions.indent | Provides a decision tree used to correctly indent the current line. |
edu.rice.cs.drjava.ui | The ui package contains classes for the default user interface
for DrJava. |
Uses of Indenter.IndentReason in edu.rice.cs.drjava.model |
---|
Methods in edu.rice.cs.drjava.model with parameters of type Indenter.IndentReason | |
---|---|
boolean |
AbstractDJDocument._indentLine(Indenter.IndentReason reason)
Indents a line using the Indenter. |
void |
DummyOpenDefDoc.indentLines(int selStart,
int selEnd,
Indenter.IndentReason reason,
ProgressMonitor pm)
|
void |
DJDocument.indentLines(int selStart,
int selEnd,
Indenter.IndentReason reason,
ProgressMonitor pm)
Parameterized indentation for special-case handling. |
void |
AbstractDJDocument.indentLines(int selStart,
int selEnd,
Indenter.IndentReason reason,
ProgressMonitor pm)
Parameterized indentation for special-case handling. |
Uses of Indenter.IndentReason in edu.rice.cs.drjava.model.definitions.indent |
---|
Methods in edu.rice.cs.drjava.model.definitions.indent that return Indenter.IndentReason | |
---|---|
static Indenter.IndentReason |
Indenter.IndentReason.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Indenter.IndentReason[] |
Indenter.IndentReason.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in edu.rice.cs.drjava.model.definitions.indent with parameters of type Indenter.IndentReason | |
---|---|
protected boolean |
QuestionBraceIsParenOrBracket.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
|
boolean |
Indenter.indent(AbstractDJDocument doc,
Indenter.IndentReason reason)
Indents the current line based on a decision tree which determines the indent based on context. |
boolean |
IndentRuleWithTrace.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
This method does not indent the current line! |
boolean |
IndentRuleQuestion.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the given rule holds in this context and calls the same method on one of its child nodes. |
boolean |
IndentRule.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the given position is on. |
boolean |
ActionStartStmtOfBracePlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionStartPrevStmtPlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionStartCurrStmtPlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionDoNothing.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionBracePlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
IndentRuleWithTrace.indentLine(AbstractDJDocument doc,
int pos,
Indenter.IndentReason reason)
Properly indents the line identified by pos. |
boolean |
IndentRuleWithTrace.testIndentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Convenience method that wraps calls on indentLine in a write lock. |
boolean |
IndentRuleQuestion.testIndentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Convenience method that wraps calls on indentLine in a write lock. |
boolean |
IndentRuleWithTrace.testIndentLine(AbstractDJDocument doc,
int pos,
Indenter.IndentReason reason)
Convenience method that wraps calls on indentLine in a write lock. |
Uses of Indenter.IndentReason in edu.rice.cs.drjava.ui |
---|
Methods in edu.rice.cs.drjava.ui with parameters of type Indenter.IndentReason | |
---|---|
void |
AbstractDJPane.indent(Indenter.IndentReason reason)
Perform an indent either on the current line or on the given selected box of text. |
protected void |
InteractionsPane.indentLines(int selStart,
int selEnd,
Indenter.IndentReason reason,
ProgressMonitor pm)
Indent the given selection, for the given reason, in the current document. |
protected void |
DefinitionsPane.indentLines(int selStart,
int selEnd,
Indenter.IndentReason reason,
ProgressMonitor pm)
Indent the given selection, for the given reason, in the current document. |
protected abstract void |
AbstractDJPane.indentLines(int selStart,
int selEnd,
Indenter.IndentReason reason,
ProgressMonitor pm)
Indents the given selection, for the given reason, in the current document. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |