程序包 | 说明 |
---|---|
com.fr.design.gui.syntax.ui.rsyntaxtextarea |
A syntax-highlighting text editor.
|
com.fr.design.gui.syntax.ui.rsyntaxtextarea.folding |
Code folding functionality.
|
限定符和类型 | 方法和说明 |
---|---|
void |
RSyntaxTextArea.foldToggled(Fold fold)
Called whenever a fold is collapsed or expanded.
|
限定符和类型 | 方法和说明 |
---|---|
Fold |
Fold.createChild(int type,
int startOffs)
Creates a fold that is a child of this one.
|
Fold |
Fold.getChild(int index)
Returns a specific child fold.
|
Fold |
FoldManager.getDeepestFoldContaining(int offs)
Returns the "deepest" nested fold containing the specified offset.
|
Fold |
FoldManager.getDeepestOpenFoldContaining(int offs)
Returns the "deepest" open fold containing the specified offset.
|
Fold |
FoldManager.getFold(int index)
Returns a specific top-level fold, which may have child folds.
|
Fold |
FoldManager.getFoldForLine(int line)
Returns the fold region that starts at the specified line.
|
Fold |
Fold.getLastChild()
Returns the last child fold.
|
Fold |
Fold.getParent()
Returns the parent fold of this one.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Fold> |
XmlFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
NsisFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
LatexFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
JsonFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
HtmlFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
FoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
CurlyFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
FoldCollapser.collapseImpl(Fold fold)
Collapses the specified fold, and any of its child folds, as
appropriate.
|
int |
Fold.compareTo(Fold otherFold)
Two folds are considered equal if they start at the same offset.
|
boolean |
FoldCollapser.getShouldCollapse(Fold fold)
Returns whether a specific fold should be collapsed.
|
限定符和类型 | 方法和说明 |
---|---|
void |
FoldManager.setFolds(java.util.List<Fold> folds)
Sets the folds for this fold manager.
|