ctrl-a selects all nodes at the current level (without children)

This commit is contained in:
azivner 2018-01-01 18:11:23 -05:00
parent 274bb32696
commit 3f976a3821

View file

@ -452,6 +452,13 @@ const noteTree = (function() {
"alt+-": node => {
collapseTree(node);
},
"ctrl+a": node => {
for (const child of node.getParent().getChildren()) {
child.setSelected(true);
}
return false;
},
"ctrl+c": () => {
contextMenu.copy(getSelectedNodes());