Revision: 3360
http://skim-app.svn.sourceforge.net/skim-app/?rev=3360&view=rev
Author: hofman
Date: 2008-01-09 04:21:38 -0800 (Wed, 09 Jan 2008)
Log Message:
-----------
Revert an earlier change of shortcuts for reading bar navigation. Apparently
the OP of a bug report was lying about the default shortcuts for Spaces.
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2008-01-09 01:10:15 UTC (rev 3359)
+++ trunk/SKPDFView.m 2008-01-09 12:21:38 UTC (rev 3360)
@@ -916,13 +916,13 @@
[self setAnnotationMode:(annotationMode + 1) % 8];
} else if ((eventChar == NSUpArrowFunctionKey) && (modifiers ==
(NSCommandKeyMask | NSAlternateKeyMask))) {
[self setAnnotationMode:(annotationMode + 7) % 8];
- } else if ([self hasReadingBar] == NO && [activeAnnotation
isNoteAnnotation] && [activeAnnotation isMovable] && (eventChar ==
NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar ==
NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers == 0
|| modifiers == NSShiftKeyMask)) {
+ } else if ([activeAnnotation isNoteAnnotation] && [activeAnnotation
isMovable] && (eventChar == NSRightArrowFunctionKey || eventChar ==
NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || eventChar ==
NSDownArrowFunctionKey) && (modifiers == 0 || modifiers == NSShiftKeyMask)) {
[self moveActiveAnnotationForKey:eventChar byAmount:(modifiers &
NSShiftKeyMask) ? 10.0 : 1.0];
- } else if ([self hasReadingBar] == NO && [activeAnnotation
isNoteAnnotation] && [activeAnnotation isResizable] && (eventChar ==
NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar ==
NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers ==
NSControlKeyMask || modifiers == (NSControlKeyMask | NSShiftKeyMask))) {
+ } else if ([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 ([self hasReadingBar] && (eventChar ==
NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar ==
NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers ==
NSControlKeyMask)) {
+ } else if ([self hasReadingBar] && (eventChar ==
NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar ==
NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers ==
NSAlternateKeyMask)) {
[self moveReadingBarForKey:eventChar];
- } else if ([self hasReadingBar] && (eventChar == NSUpArrowFunctionKey
|| eventChar == NSDownArrowFunctionKey) && (modifiers == (NSControlKeyMask |
NSShiftKeyMask))) {
+ } else if ([self hasReadingBar] && (eventChar == NSUpArrowFunctionKey
|| eventChar == NSDownArrowFunctionKey) && (modifiers == (NSAlternateKeyMask |
NSShiftKeyMask))) {
[self resizeReadingBarForKey:eventChar];
} else if ([self toolMode] == SKNoteToolMode && modifiers == 0 &&
eventChar == 't') {
[self setAnnotationMode:SKFreeTextNote];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit