Revision: 15429
http://sourceforge.net/p/skim-app/code/15429
Author: hofman
Date: 2025-06-10 16:45:03 +0000 (Tue, 10 Jun 2025)
Log Message:
-----------
rearrangeObjects should be called implicitly when adding or removing notes
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2025-06-10 16:26:32 UTC (rev 15428)
+++ trunk/SKMainWindowController.m 2025-06-10 16:45:03 UTC (rev 15429)
@@ -1011,7 +1011,6 @@
// make sure we clear the undo handling
undoGroupOldPropertiesPerNote = nil;
- [rightSideController.noteArrayController rearrangeObjects]; // doesn't
seem to be done automatically
[rightSideController.noteOutlineView reloadData];
[self updateThumbnailsAtPageIndexes:pageIndexes];
for (SKSnapshotWindowController *wc in snapshots) {
@@ -1236,7 +1235,6 @@
// make sure we clear the undo handling
undoGroupOldPropertiesPerNote = nil;
- [rightSideController.noteArrayController rearrangeObjects]; // doesn't
seem to be done automatically
[rightSideController.noteOutlineView reloadData];
[pdfView resetPDFToolTipRects];
}
@@ -2257,7 +2255,6 @@
[annotation setShouldPrint:[pdfView hideNotes] == NO];
mwcFlags.updatingNoteSelection = 1;
[self insertObject:annotation inNotesAtIndex:[notes count]];
- [rightSideController.noteArrayController rearrangeObjects]; //
doesn't seem to be done automatically
mwcFlags.updatingNoteSelection = 0;
[rightSideController.noteOutlineView reloadData];
}
@@ -2305,7 +2302,6 @@
NSUInteger i = [notes indexOfObject:annotation];
if (i != NSNotFound)
[self removeObjectFromNotesAtIndex:i];
- [rightSideController.noteArrayController rearrangeObjects]; //
doesn't seem to be done automatically
mwcFlags.updatingNoteSelection = 0;
[rightSideController.noteOutlineView reloadData];
}
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