Revision: 6460
http://skim-app.svn.sourceforge.net/skim-app/?rev=6460&view=rev
Author: hofman
Date: 2010-04-15 11:16:24 +0000 (Thu, 15 Apr 2010)
Log Message:
-----------
use KVC compliant accesors for notes of a page
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.h
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.h
===================================================================
--- trunk/PDFPage_SKExtensions.h 2010-04-11 12:07:32 UTC (rev 6459)
+++ trunk/PDFPage_SKExtensions.h 2010-04-15 11:16:24 UTC (rev 6460)
@@ -94,8 +94,8 @@
- (NSTextStorage *)richText;
- (NSArray *)notes;
- (void)insertInNotes:(id)newNote;
-- (void)insertInNotes:(id)newNote atIndex:(NSUInteger)index;
-- (void)removeFromNotesAtIndex:(NSUInteger)index;
+- (void)insertObject:(id)newNote inNotesAtIndex:(NSUInteger)index;
+- (void)removeObjectFromNotesAtIndex:(NSUInteger)index;
- (id)handleGrabScriptCommand:(NSScriptCommand *)command;
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2010-04-11 12:07:32 UTC (rev 6459)
+++ trunk/PDFPage_SKExtensions.m 2010-04-15 11:16:24 UTC (rev 6460)
@@ -462,11 +462,11 @@
}
}
-- (void)insertInNotes:(id)newNote atIndex:(NSUInteger)anIndex {
+- (void)insertObject:(id)newNote inNotesAtIndex:(NSUInteger)anIndex {
[self insertInNotes:newNote];
}
-- (void)removeFromNotesAtIndex:(NSUInteger)anIndex {
+- (void)removeObjectFromNotesAtIndex:(NSUInteger)anIndex {
if ([self isNotesPage] == NO) {
PDFAnnotation *note = [[self notes] objectAtIndex:anIndex];
SKPDFView *pdfView = [(SKMainDocument *)[self containingDocument]
pdfView];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit