Revision: 16149
http://sourceforge.net/p/skim-app/code/16149
Author: hofman
Date: 2026-04-02 15:22:19 +0000 (Thu, 02 Apr 2026)
Log Message:
-----------
remove document setup and bookmark keys from savedNormalSetup
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-04-02 14:26:11 UTC (rev 16148)
+++ trunk/SKMainWindowController.m 2026-04-02 15:22:19 UTC (rev 16149)
@@ -155,6 +155,10 @@
#define LOCKED_KEY @"locked"
#define CROPBOXES_KEY @"cropBoxes"
+#define LABEL_KEY @"label"
+#define EXPANDED_KEY @"expanded"
+#define CHILDREN_KEY @"children"
+
#define TRANSITION_KEY @"transition"
#define PAGETRANSITIONS_KEY @"pageTransitions"
@@ -615,7 +619,7 @@
} else {
if ([self interactionMode] != SKNormalMode) {
[savedNormalSetup addEntriesFromDictionary:setup];
- [savedNormalSetup removeObjectsForKeys:@[CROPBOXES_KEY,
SNAPSHOTS_KEY, PAGEINDEX_KEY, SCROLLPOINT_KEY]];
+ [savedNormalSetup removeObjectsForKeys:@[CROPBOXES_KEY,
SNAPSHOTS_KEY, PAGEINDEX_KEY, SCROLLPOINT_KEY, SKDocumentSetupBookmarkKey,
SKDocumentSetupAliasKey, SKDocumentSetupTabsKey, LABEL_KEY]];
if (applySidePaneWidths)
[savedNormalSetup
removeObjectsForKeys:@[LEFTSIDEPANEWIDTH_KEY, RIGHTSIDEPANEWIDTH_KEY]];
}
@@ -799,10 +803,6 @@
}
}
-#define LABEL_KEY @"label"
-#define EXPANDED_KEY @"expanded"
-#define CHILDREN_KEY @"children"
-
- (NSDictionary *)expansionStateForOutline:(PDFOutline *)anOutline {
if (anOutline == nil)
return 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