From a7929e6c1e83b0e2dd7a926acdee2ba102ebef25 Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Mon, 30 May 2011 23:18:43 -0700 Subject: [PATCH] Enable escape as key equivalent. --- AppKit/CPEvent.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPEvent.j b/AppKit/CPEvent.j index b0cc6a03d..dc3f918a0 100644 --- a/AppKit/CPEvent.j +++ b/AppKit/CPEvent.j @@ -583,11 +583,11 @@ var _CPEventPeriodicEventPeriod = 0, c === CPEnterCharacter || c === CPNewlineCharacter || c === CPCarriageReturnCharacter || + c === CPEscapeFunctionKey || (!firstResponderIsText && (c === CPSpaceFunctionKey || c === CPDeleteCharacter || - c === CPBackspaceCharacter || - c === CPEscapeFunctionKey))) + c === CPBackspaceCharacter))) { return YES; }