Handle the Delete key in the sidebar.

This commit is contained in:
Brent Simmons 2017-10-21 10:55:20 -07:00
parent 702559cfb1
commit f6f4680e10
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
//
import AppKit
import RSCore
class SidebarOutlineView : NSOutlineView {
@ -32,7 +33,7 @@ class SidebarOutlineView : NSOutlineView {
case NSRightArrowFunctionKey:
keyHandled = true
case NSDeleteFunctionKey:
case NSDeleteFunctionKey, Int(kDeleteKeyCode):
keyHandled = true
Swift.print("NSDeleteFunctionKey")