Package | Description |
---|---|
org.netbeans.spi.editor.fold |
Modifier and Type | Method and Description |
---|---|
FoldHierarchyTransaction |
FoldOperation.openTransaction()
Open a new transaction over the fold hierarchy.
|
Modifier and Type | Method and Description |
---|---|
Fold |
FoldOperation.addToHierarchy(FoldType type,
int startOffset,
int endOffset,
Boolean collapsed,
FoldTemplate template,
String displayOverride,
Object extraInfo,
FoldHierarchyTransaction transaction)
Adds a fold to the hierarchy.
|
Fold |
FoldOperation.addToHierarchy(FoldType type,
String description,
boolean collapsed,
int startOffset,
int endOffset,
int startGuardedLength,
int endGuardedLength,
Object extraInfo,
FoldHierarchyTransaction transaction)
Deprecated.
please use
FoldOperation.addToHierarchy(org.netbeans.api.editor.fold.FoldType, int, int, java.lang.Boolean, org.netbeans.api.editor.fold.FoldTemplate, java.lang.String, java.lang.Object, org.netbeans.spi.editor.fold.FoldHierarchyTransaction) .
This form of call does not support automatic state assignment and fold templates. |
void |
FoldManager.changedUpdate(DocumentEvent evt,
FoldHierarchyTransaction transaction)
Called by hierarchy upon the change in the underlying document.
|
void |
FoldManager.initFolds(FoldHierarchyTransaction transaction)
Initialize the folds provided by this manager.
|
void |
FoldManager.insertUpdate(DocumentEvent evt,
FoldHierarchyTransaction transaction)
Called by hierarchy upon the insertion to the underlying document.
|
void |
FoldOperation.removeFromHierarchy(Fold fold,
FoldHierarchyTransaction transaction)
Remove the fold that is either present in the hierarchy or blocked
by another fold.
|
void |
FoldManager.removeUpdate(DocumentEvent evt,
FoldHierarchyTransaction transaction)
Called by hierarchy upon the removal in the underlying document.
|