Revision: 15964
http://sourceforge.net/p/skim-app/code/15964
Author: hofman
Date: 2026-01-06 17:21:55 +0000 (Tue, 06 Jan 2026)
Log Message:
-----------
override performKeyEquivalent in all pdfviews
Modified Paths:
--------------
trunk/SKBasePDFView.m
trunk/SKPDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2026-01-06 16:21:22 UTC (rev 15963)
+++ trunk/SKBasePDFView.m 2026-01-06 17:21:55 UTC (rev 15964)
@@ -195,6 +195,9 @@
return aSelector != @selector(printDocument:) && [super
respondsToSelector:aSelector];
}
+// PDFView has duplicated key equivalents for Cmd-+/- as well as Opt-Cmd-+/-,
which is totoally unnecessary and harmful
+- (BOOL)performKeyEquivalent:(NSEvent *)theEvent { return NO; }
+
#pragma mark Bug fixes
- (void)setDocument:(PDFDocument *)document {
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2026-01-06 16:21:22 UTC (rev 15963)
+++ trunk/SKPDFView.m 2026-01-06 17:21:55 UTC (rev 15964)
@@ -1593,9 +1593,6 @@
#pragma mark Event Handling
-// PDFView has duplicated key equivalents for Cmd-+/- as well as Opt-Cmd-+/-,
which is totoally unnecessary and harmful
-- (BOOL)performKeyEquivalent:(NSEvent *)theEvent { return NO; }
-
#define IS_LEFT_RIGHT_ARROW(eventChar) (eventChar == NSRightArrowFunctionKey
|| eventChar == NSLeftArrowFunctionKey)
#define IS_UP_DOWN_ARROW(eventChar) (eventChar == NSUpArrowFunctionKey ||
eventChar == NSDownArrowFunctionKey)
#define IS_ARROW(eventChar) (eventChar == NSRightArrowFunctionKey || eventChar
== NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || eventChar ==
NSDownArrowFunctionKey)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit