Revision: 12651
http://sourceforge.net/p/skim-app/code/12651
Author: hofman
Date: 2021-12-28 00:06:09 +0000 (Tue, 28 Dec 2021)
Log Message:
-----------
No need to notify changes top current selection
Modified Paths:
--------------
trunk/SKPDFView.h
trunk/SKPDFView.m
Modified: trunk/SKPDFView.h
===================================================================
--- trunk/SKPDFView.h 2021-12-28 00:02:44 UTC (rev 12650)
+++ trunk/SKPDFView.h 2021-12-28 00:06:09 UTC (rev 12651)
@@ -57,7 +57,6 @@
extern NSString *SKPDFViewReadingBarDidChangeNotification;
extern NSString *SKPDFViewSelectionChangedNotification;
extern NSString *SKPDFViewMagnificationChangedNotification;
-extern NSString *SKPDFViewCurrentSelectionChangedNotification;
extern NSString *SKPDFViewPacerStartedOrStoppedNotification;
extern NSString *SKPDFViewAnnotationKey;
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2021-12-28 00:02:44 UTC (rev 12650)
+++ trunk/SKPDFView.m 2021-12-28 00:06:09 UTC (rev 12651)
@@ -128,7 +128,6 @@
NSString *SKPDFViewReadingBarDidChangeNotification =
@"SKPDFViewReadingBarDidChangeNotification";
NSString *SKPDFViewSelectionChangedNotification =
@"SKPDFViewSelectionChangedNotification";
NSString *SKPDFViewMagnificationChangedNotification =
@"SKPDFViewMagnificationChangedNotification";
-NSString *SKPDFViewCurrentSelectionChangedNotification =
@"SKPDFViewCurrentSelectionChangedNotification";
NSString *SKPDFViewPacerStartedOrStoppedNotification =
@"SKPDFViewPacerStartedOrStoppedNotification";
NSString *SKPDFViewAnnotationKey = @"annotation";
@@ -888,7 +887,6 @@
if (toolMode == SKNoteToolMode && annotationMode == SKHighlightNote)
[selection setColor:[[NSUserDefaults standardUserDefaults]
colorForKey:SKHighlightNoteColorKey]];
[super setCurrentSelection:selection];
- [[NSNotificationCenter defaultCenter]
postNotificationName:SKPDFViewCurrentSelectionChangedNotification object:self];
}
- (NSRect)currentSelectionRect {
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