Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit f486456

Browse files
committed
Part of #234: There was no key handling for Ctrl+Z & Ctrl+Y.
1 parent 69bef7e commit f486456

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • src/AddIns/DisplayBindings/HexEditor/Project/Src

src/AddIns/DisplayBindings/HexEditor/Project/Src/Editor.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,6 +1413,14 @@ void HexEditKeyDown(object sender, KeyEventArgs e)
14131413
this.Delete();
14141414
}
14151415
break;
1416+
// Ctrl-Y is pressed -> redo
1417+
case 89:
1418+
Redo();
1419+
break;
1420+
// Ctrl-Z is pressed -> undo
1421+
case 90:
1422+
Undo();
1423+
break;
14161424
}
14171425
break;
14181426
}

0 commit comments

Comments
 (0)