use of org.fife.ui.rsyntaxtextarea.folding.FoldManager in project knime-core by knime.
the class JavaSnippetNodeDialog method collapseAllFolds.
/* Collapse all folds */
private void collapseAllFolds() {
final FoldManager foldManager = m_snippetTextArea.getFoldManager();
final int foldCount = foldManager.getFoldCount();
for (int i = 0; i < foldCount; i++) {
final Fold fold = foldManager.getFold(i);
fold.setCollapsed(true);
}
}
Aggregations