Revision: 13643
http://sourceforge.net/p/skim-app/code/13643
Author: hofman
Date: 2023-09-06 18:00:45 +0000 (Wed, 06 Sep 2023)
Log Message:
-----------
implement
Modified Paths:
--------------
trunk/SKMainWindowController.m
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2023-09-06 17:12:52 UTC (rev 13642)
+++ trunk/SKMainWindowController.m 2023-09-06 18:00:45 UTC (rev 13643)
@@ -216,8 +216,6 @@
- (void)startObservingNotes:(NSArray *)newNotes;
- (void)stopObservingNotes:(NSArray *)oldNotes;
-- (void)observeUndoManagerCheckpoint:(NSNotification *)notification;
-
- (void)clearWidgets;
+ (void)defineFullScreenGlobalVariables;
@@ -1117,7 +1115,7 @@
}
// make sure we clear the undo handling
- [self observeUndoManagerCheckpoint:nil];
+ SKDESTROY(undoGroupOldPropertiesPerNote);
[rightSideController.noteOutlineView reloadData];
[self updateThumbnailsAtPageIndexes:pageIndexes];
[pdfView resetPDFToolTipRects];
@@ -1257,7 +1255,7 @@
[self updateRightStatus];
// make sure we clear the undo handling
- [self observeUndoManagerCheckpoint:nil];
+ SKDESTROY(undoGroupOldPropertiesPerNote);
[rightSideController.noteOutlineView reloadData];
[pdfView resetPDFToolTipRects];
}
@@ -2699,12 +2697,6 @@
}
}
-- (void)observeUndoManagerCheckpoint:(NSNotification *)notification {
- // Start the coalescing of note property changes over.
- [undoGroupOldPropertiesPerNote release];
- undoGroupOldPropertiesPerNote = nil;
-}
-
#pragma mark KVO
- (BOOL)notesNeedReloadForKey:(NSString *)key {
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2023-09-06 17:12:52 UTC (rev 13642)
+++ trunk/SKMainWindowController_UI.m 2023-09-06 18:00:45 UTC (rev 13643)
@@ -132,8 +132,6 @@
- (void)updateNoteFilterPredicate;
-- (void)observeUndoManagerCheckpoint:(NSNotification *)notification;
-
- (void)rotatePageAtIndex:(NSUInteger)idx by:(NSInteger)rotation;
@end
@@ -2052,6 +2050,11 @@
[self updatePageLabels];
}
+- (void)observeUndoManagerCheckpoint:(NSNotification *)notification {
+ // Start the coalescing of note property changes over.
+ SKDESTROY(undoGroupOldPropertiesPerNote);
+}
+
- (void)handleOpenOrCloseUndoGroupNotification:(NSNotification *)notification {
[pdfView undoManagerDidOpenOrCloseUndoGroup];
}
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