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

Delete key shall delete nodes. #1538

Merged
merged 6 commits into from
May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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