Revision: 15519
http://sourceforge.net/p/skim-app/code/15519
Author: hofman
Date: 2025-06-21 21:26:42 +0000 (Sat, 21 Jun 2025)
Log Message:
-----------
uselocal variable
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2025-06-21 21:22:55 UTC (rev 15518)
+++ trunk/SKMainWindowController_UI.m 2025-06-21 21:26:42 UTC (rev 15519)
@@ -2126,12 +2126,13 @@
[nc addObserver:self
selector:@selector(handleNoteViewFrameDidChangeNotification:)
name:NSViewFrameDidChangeNotification
object:[rightSideController.noteOutlineView enclosingScrollView]];
// UndoManager
+ NSUndoManager *undoManager = [[self document] undoManager];
[nc addObserver:self selector:@selector(observeUndoManagerCheckpoint:)
- name:NSUndoManagerCheckpointNotification
object:[[self document] undoManager]];
+ name:NSUndoManagerCheckpointNotification
object:undoManager];
[nc addObserver:self
selector:@selector(handleOpenOrCloseUndoGroupNotification:)
- name:NSUndoManagerDidOpenUndoGroupNotification
object:[[self document] undoManager]];
+ name:NSUndoManagerDidOpenUndoGroupNotification
object:undoManager];
[nc addObserver:self
selector:@selector(handleOpenOrCloseUndoGroupNotification:)
- name:NSUndoManagerDidCloseUndoGroupNotification
object:[[self document] undoManager]];
+ name:NSUndoManagerDidCloseUndoGroupNotification
object:undoManager];
// SKDocumentController
[nc addObserver:self
selector:@selector(handleWillRemoveDocumentNotification:)
name:SKDocumentControllerWillRemoveDocumentNotification object:nil];
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