Revision: 3810
http://skim-app.svn.sourceforge.net/skim-app/?rev=3810&view=rev
Author: hofman
Date: 2008-04-24 08:00:24 -0700 (Thu, 24 Apr 2008)
Log Message:
-----------
Allow esc to remove focus from note in normal mode.
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2008-04-24 11:46:59 UTC (rev 3809)
+++ trunk/SKPDFView.m 2008-04-24 15:00:24 UTC (rev 3810)
@@ -969,7 +969,7 @@
(eventChar == NSTabCharacter) && (modifiers ==
NSAlternateKeyMask)) {
[self selectNextActiveAnnotation:self];
} else if (([self toolMode] == SKTextToolMode || [self toolMode] ==
SKNoteToolMode) &&
- (eventChar == 0x1B) && (modifiers == NSAlternateKeyMask)) {
+ (eventChar == 0x1B) && (modifiers == NSAlternateKeyMask ||
(interactionMode == SKNormalMode && modifiers == 0))) {
[self setActiveAnnotation:nil];
// backtab is a bit inconsistent, it seems Shift+Tab gives a
Shift-BackTab key event, I would have expected either Shift-Tab (as for the raw
event) or BackTab (as for most shift-modified keys)
} else if (([self toolMode] == SKTextToolMode || [self toolMode] ==
SKNoteToolMode) &&
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 the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit