From f9639eb6956f7bbc6261d22f87e431894762658a Mon Sep 17 00:00:00 2001 From: Mike Fellows Date: Tue, 30 Nov 2010 23:05:39 -0800 Subject: [PATCH] Add the space key as an allowable key equivalent --- AppKit/CPEvent.j | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AppKit/CPEvent.j b/AppKit/CPEvent.j index e4fbe8dfd..09102141b 100644 --- a/AppKit/CPEvent.j +++ b/AppKit/CPEvent.j @@ -158,6 +158,7 @@ CPFindFunctionKey = "\uF745"; CPHelpFunctionKey = "\uF746"; CPModeSwitchFunctionKey = "\uF747"; CPEscapeFunctionKey = "\u001B"; +CPSpaceFunctionKey = "\u0020"; CPDOMEventDoubleClick = "dblclick", @@ -566,6 +567,7 @@ var _CPEventPeriodicEventPeriod = 0, case CPTabCharacter: case CPCarriageReturnCharacter: case CPNewlineCharacter: + case CPSpaceFunctionKey: case CPEscapeFunctionKey: case CPPageUpFunctionKey: case CPPageDownFunctionKey: @@ -576,7 +578,7 @@ var _CPEventPeriodicEventPeriod = 0, return YES; } } - // FIXME: More cases? Space? + // FIXME: More cases? return NO; }