Skip to content

Commit

Permalink
Improved outline for Markdown editor and HTML editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bio7 committed Mar 5, 2021
1 parent 16614dc commit 01bab14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -548,6 +548,7 @@ public void outlineInputChanged(Vector nodesALt, Vector nodesNew) {
/* The default expand level! */
contentOutlineViewer.expandToLevel(2);
control.setRedraw(true);
control.redraw();
}
}
}
Expand Down Expand Up @@ -646,7 +647,9 @@ public void run() {
tree.setRedraw(false);
try {

/* The default expand level! */
getTreeViewer().collapseAll();
contentOutlineViewer.expandToLevel(2);

} finally {
tree.setRedraw(true);
Expand Down
Expand Up @@ -376,6 +376,7 @@ public void outlineInputChanged(Vector nodesALt, Vector nodesNew) {
/* The default expand level! */
contentOutlineViewer.expandToLevel(2);
control.setRedraw(true);
control.redraw();
}
}
}
Expand Down Expand Up @@ -473,7 +474,9 @@ public void run() {
tree.setRedraw(false);
try {

/* The default expand level! */
getTreeViewer().collapseAll();
contentOutlineViewer.expandToLevel(2);

} finally {
tree.setRedraw(true);
Expand Down

0 comments on commit 01bab14

Please sign in to comment.