Revision: 2500
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2500&view=rev
Author:   hofman
Date:     2007-07-14 04:06:06 -0700 (Sat, 14 Jul 2007)

Log Message:
-----------
Change shortcuts for rotating through tool modes to Opt-Cmd-arrows, to avoid 
conflicts with moving the active note.

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2007-07-14 11:03:47 UTC (rev 2499)
+++ trunk/SKPDFView.m   2007-07-14 11:06:06 UTC (rev 2500)
@@ -799,13 +799,13 @@
         [self moveActiveAnnotationForKey:eventChar byAmount:(modifiers & 
NSShiftKeyMask) ? 10.0 : 1.0];
        } else if (isPresentation == NO && [activeAnnotation isNoteAnnotation] 
&& [activeAnnotation isResizable] && (eventChar == NSRightArrowFunctionKey || 
eventChar == NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || 
eventChar == NSDownArrowFunctionKey) && (modifiers == NSControlKeyMask || 
modifiers == NSControlKeyMask | NSShiftKeyMask)) {
         [self resizeActiveAnnotationForKey:eventChar byAmount:(modifiers & 
NSShiftKeyMask) ? 10.0 : 1.0];
-    } else if (isPresentation == NO && (eventChar == NSRightArrowFunctionKey) 
&& (modifiers == NSShiftKeyMask)) {
+    } else if (isPresentation == NO && (eventChar == NSRightArrowFunctionKey) 
&& (modifiers == NSCommandKeyMask | NSAlternateKeyMask)) {
         [self setToolMode:(toolMode + 1) % 5];
-    } else if (isPresentation == NO && (eventChar == NSLeftArrowFunctionKey) 
&& (modifiers == NSShiftKeyMask)) {
+    } else if (isPresentation == NO && (eventChar == NSLeftArrowFunctionKey) 
&& (modifiers == NSCommandKeyMask | NSAlternateKeyMask)) {
         [self setToolMode:(toolMode + 4) % 5];
-    } else if (isPresentation == NO && (eventChar == NSDownArrowFunctionKey) 
&& (modifiers == NSShiftKeyMask)) {
+    } else if (isPresentation == NO && (eventChar == NSDownArrowFunctionKey) 
&& (modifiers == NSCommandKeyMask | NSAlternateKeyMask)) {
         [self setAnnotationMode:(annotationMode + 1) % 8];
-    } else if (isPresentation == NO && (eventChar == NSUpArrowFunctionKey) && 
(modifiers == NSShiftKeyMask)) {
+    } else if (isPresentation == NO && (eventChar == NSUpArrowFunctionKey) && 
(modifiers == NSCommandKeyMask | NSAlternateKeyMask)) {
         [self setAnnotationMode:(annotationMode + 7) % 8];
     } else if (readingBar && (eventChar == NSRightArrowFunctionKey || 
eventChar == NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || 
eventChar == NSDownArrowFunctionKey) && (modifiers == NSAlternateKeyMask)) {
         [self moveReadingBarForKey:eventChar];


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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to