Uses of Class
org.fife.ui.rsyntaxtextarea.folding.Fold
-
Packages that use Fold Package Description org.fife.ui.rsyntaxtextarea A syntax-highlighting text editor.org.fife.ui.rsyntaxtextarea.folding Code folding functionality.org.fife.ui.rtextarea A single-font text editor with many custom features. -
-
Uses of Fold in org.fife.ui.rsyntaxtextarea
Methods in org.fife.ui.rsyntaxtextarea that return Fold Modifier and Type Method Description protected Fold
RSyntaxTextAreaEditorKit.FoldRelatedAction. getClosestFold(RSyntaxTextArea textArea)
Methods in org.fife.ui.rsyntaxtextarea with parameters of type Fold Modifier and Type Method Description private void
RSyntaxTextAreaEditorKit.ExpandAllFoldsAction. expand(Fold fold)
void
RSyntaxTextArea. foldToggled(Fold fold)
Called whenever a fold is collapsed or expanded. -
Uses of Fold in org.fife.ui.rsyntaxtextarea.folding
Fields in org.fife.ui.rsyntaxtextarea.folding declared as Fold Modifier and Type Field Description private Fold
Fold. parent
Fields in org.fife.ui.rsyntaxtextarea.folding with type parameters of type Fold Modifier and Type Field Description private java.util.List<Fold>
Fold. children
private java.util.List<Fold>
DefaultFoldManager. folds
Methods in org.fife.ui.rsyntaxtextarea.folding that return Fold Modifier and Type Method Description 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
DefaultFoldManager. getDeepestFoldContaining(int offs)
(package private) Fold
Fold. getDeepestFoldContaining(int offs)
Returns the "deepest" fold containing the specified offset.Fold
FoldManager. getDeepestFoldContaining(int offs)
Returns the "deepest" nested fold containing the specified offset.Fold
DefaultFoldManager. getDeepestOpenFoldContaining(int offs)
(package private) Fold
Fold. getDeepestOpenFoldContaining(int offs)
Returns the "deepest" open fold containing the specified offset.Fold
FoldManager. getDeepestOpenFoldContaining(int offs)
Returns the "deepest" open fold containing the specified offset.Fold
DefaultFoldManager. getFold(int index)
Fold
FoldManager. getFold(int index)
Returns a specific top-level fold, which may have child folds.Fold
DefaultFoldManager. getFoldForLine(int line)
Fold
FoldManager. getFoldForLine(int line)
Returns the fold region that starts at the specified line.private Fold
DefaultFoldManager. getFoldForLineImpl(Fold parent, java.util.List<Fold> folds, int line)
Fold
Fold. getLastChild()
Returns the last child fold.Fold
Fold. getParent()
Returns the parent fold of this one.Methods in org.fife.ui.rsyntaxtextarea.folding that return types with arguments of type Fold Modifier and Type Method Description (package private) java.util.List<Fold>
Fold. getChildren()
Returns the array of child folds.java.util.List<Fold>
CurlyFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
FoldParser. getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.java.util.List<Fold>
HtmlFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
JsonFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
LatexFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
LinesWithContentFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
NsisFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
PythonFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
XmlFoldParser. getFolds(RSyntaxTextArea textArea)
java.util.List<Fold>
YamlFoldParser. getFolds(RSyntaxTextArea textArea)
Methods in org.fife.ui.rsyntaxtextarea.folding with parameters of type Fold Modifier and Type Method Description 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.private Fold
DefaultFoldManager. getFoldForLineImpl(Fold parent, java.util.List<Fold> folds, int line)
private int
DefaultFoldManager. getHiddenLineCountAboveImpl(Fold fold, int line, boolean physical)
Returns the number of lines "hidden" by collapsed folds above the specified line.boolean
FoldCollapser. getShouldCollapse(Fold fold)
Returns whether a specific fold should be collapsed.private boolean
DefaultFoldManager. isLineHiddenImpl(Fold parent, int line)
private void
DefaultFoldManager. keepFoldState(Fold newFold, java.util.List<Fold> oldFolds)
private static void
HtmlFoldParser. removeFold(Fold fold, java.util.List<Fold> folds)
If this fold has a parent fold, this method removes it from its parent.private static void
XmlFoldParser. removeFold(Fold fold, java.util.List<Fold> folds)
If this fold has a parent fold, this method removes it from its parent.private static void
YamlFoldParser. removeFold(Fold fold, java.util.List<Fold> folds)
If this fold has a parent fold, this method removes it from its parent.Method parameters in org.fife.ui.rsyntaxtextarea.folding with type arguments of type Fold Modifier and Type Method Description private Fold
DefaultFoldManager. getFoldForLineImpl(Fold parent, java.util.List<Fold> folds, int line)
private void
DefaultFoldManager. keepFoldState(Fold newFold, java.util.List<Fold> oldFolds)
private void
DefaultFoldManager. keepFoldStates(java.util.List<Fold> newFolds, java.util.List<Fold> oldFolds)
private static void
HtmlFoldParser. removeFold(Fold fold, java.util.List<Fold> folds)
If this fold has a parent fold, this method removes it from its parent.private static void
XmlFoldParser. removeFold(Fold fold, java.util.List<Fold> folds)
If this fold has a parent fold, this method removes it from its parent.private static void
YamlFoldParser. removeFold(Fold fold, java.util.List<Fold> folds)
If this fold has a parent fold, this method removes it from its parent.void
DefaultFoldManager. setFolds(java.util.List<Fold> folds)
void
FoldManager. setFolds(java.util.List<Fold> folds)
Sets the folds for this fold manager. -
Uses of Fold in org.fife.ui.rtextarea
Fields in org.fife.ui.rtextarea declared as Fold Modifier and Type Field Description private Fold
FoldIndicator. foldWithOutlineShowing
The fold to show the outline line for.Methods in org.fife.ui.rtextarea that return Fold Modifier and Type Method Description private Fold
FoldIndicator. findOpenFoldClosestTo(java.awt.Point p)
-