Revision: 4094
http://skim-app.svn.sourceforge.net/skim-app/?rev=4094&view=rev
Author: hofman
Date: 2008-06-28 13:26:42 -0700 (Sat, 28 Jun 2008)
Log Message:
-----------
Change last fix. The initializer was used, but the accessor was not defined.
Modified Paths:
--------------
trunk/SKNPDFAnnotationNote_SKExtensions.m
Modified: trunk/SKNPDFAnnotationNote_SKExtensions.m
===================================================================
--- trunk/SKNPDFAnnotationNote_SKExtensions.m 2008-06-28 20:03:11 UTC (rev
4093)
+++ trunk/SKNPDFAnnotationNote_SKExtensions.m 2008-06-28 20:26:42 UTC (rev
4094)
@@ -60,6 +60,7 @@
textStorage = [[NSTextStorage allocWithZone:[self zone]] init];
[textStorage setDelegate:self];
text = [[NSAttributedString alloc] init];
+ texts = [[NSArray alloc] initWithObjects:[[[SKNoteText alloc]
initWithAnnotation:self] autorelease], nil];
}
return self;
}
@@ -74,6 +75,8 @@
- (PDFAnnotationPopup *)popup { return nil; }
+- (NSArray *)texts { return texts; }
+
- (NSSet *)keysForValuesToObserveForUndo {
static NSSet *noteKeys = nil;
if (noteKeys == nil) {
@@ -121,12 +124,6 @@
return [[NSScriptCoercionHandler sharedCoercionHandler]
coerceValue:value toClass:[NSTextStorage class]];
}
-- (NSArray *)texts {
- if (texts == nil)
- texts = [[NSArray alloc] initWithObjects:[[[SKNoteText alloc]
initWithAnnotation:self] autorelease], nil];
- return texts;
-}
-
#pragma mark Accessibility
- (NSArray *)accessibilityAttributeNames {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit