Revision: 16581
          http://sourceforge.net/p/skim-app/code/16581
Author:   hofman
Date:     2026-10-01 15:41:47 +0000 (Thu, 01 Oct 2026)
Log Message:
-----------
use same annotation key for string of note as for markup

Modified Paths:
--------------
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.m

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-09-30 21:02:55 UTC 
(rev 16580)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-10-01 15:41:47 UTC 
(rev 16581)
@@ -1788,7 +1788,7 @@
 #if !defined(MAC_OS_X_VERSION_10_12) || MAC_OS_X_VERSION_MIN_REQUIRED < 
MAC_OS_X_VERSION_10_12
     return _string;
 #else
-    return [self valueForAnnotationKey:@"/SkimComment"];
+    return [self valueForAnnotationKey:@"/SkimContents"];
 #endif
 }
 
@@ -1797,9 +1797,9 @@
     _string = [string copy];
 #else
     if (string)
-        [self setValue:[string copy] forAnnotationKey:@"/SkimComment"];
+        [self setValue:[string copy] forAnnotationKey:@"/SkimContents"];
     else
-        [self removeValueForAnnotationKey:@"/SkimComment"];
+        [self removeValueForAnnotationKey:@"/SkimContents"];
 #endif
     // update the contents to string + text
     [self updateContents];

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

Reply via email to