Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Delete key shall delete nodes. (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwu-tow authored May 7, 2021
1 parent 8253439 commit 70ce429
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@

#### EnsoGL (rendering engine)


<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)

#### Visual Environment

- [Delete key will delete selected nodes][1538].

#### EnsoGL (rendering engine)

#### Enso Compiler
Expand All @@ -21,6 +22,8 @@ If you're interested in the enhancements and fixes made to the Enso compiler,
you can find their release notes
[here](https://github.com/enso-org/enso/blob/main/RELEASES.md).

[1538]: https://github.com/enso-org/ide/pull/1538

<br/>

# Enso 2.0.0-alpha.4 (2021-05-04)
Expand Down
2 changes: 1 addition & 1 deletion docs/product/shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ further investigation.
| Shortcut | Action |
| -------- | ------ |
| <kbd>tab</kbd> | Show / hide node searcher. |
| <kbd>backspace</kbd> | Remove selected nodes. |
| <kbd>backspace</kbd> or <kbd>delete</kbd> | Remove selected nodes. |
| <kbd>cmd</kbd>+<kbd>g</kbd> | Collapse (group) selected nodes. |
| <kbd>meta</kbd>+<kbd>LMB</kbd> | Start editing node expression. |
| <kbd>meta</kbd>+<kbd>enter</kbd> | Start editing node expression. |
Expand Down
1 change: 1 addition & 0 deletions src/rust/ide/view/graph-editor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1908,6 +1908,7 @@ impl application::View for GraphEditor {
(Press , "" , "left-mouse-button" , "node_press")
, (Release , "" , "left-mouse-button" , "node_release")
, (Press , "!node_editing" , "backspace" , "remove_selected_nodes")
, (Press , "!node_editing" , "delete" , "remove_selected_nodes")
, (Press , "" , "cmd g" , "collapse_selected_nodes")

// === Visualization ===
Expand Down

0 comments on commit 70ce429

Please sign in to comment.