Revision: 7254
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7254&view=rev
Author:   hofman
Date:     2011-05-25 17:01:10 +0000 (Wed, 25 May 2011)

Log Message:
-----------
allow numeric pad keys for type select

Modified Paths:
--------------
    trunk/SKTypeSelectHelper.m

Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m  2011-05-25 09:58:53 UTC (rev 7253)
+++ trunk/SKTypeSelectHelper.m  2011-05-25 17:01:10 UTC (rev 7254)
@@ -215,7 +215,7 @@
 - (BOOL)isSearchEvent:(NSEvent *)keyEvent {
     if ([keyEvent type] != NSKeyDown)
         return NO;
-    if ([keyEvent modifierFlags] & NSDeviceIndependentModifierFlagsMask & 
~NSShiftKeyMask & ~NSAlternateKeyMask & ~NSAlphaShiftKeyMask)
+    if ([keyEvent modifierFlags] & NSDeviceIndependentModifierFlagsMask & 
~NSShiftKeyMask & ~NSAlternateKeyMask & ~NSAlphaShiftKeyMask & 
~NSNumericPadKeyMask)
         return NO;
     
     static NSCharacterSet *nonAlphanumericCharacterSet = nil;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to