Revision: 2278 http://skim-app.svn.sourceforge.net/skim-app/?rev=2278&view=rev Author: hofman Date: 2007-06-12 10:32:59 -0700 (Tue, 12 Jun 2007)
Log Message: ----------- Fix markup type for markups added with AppleScript. Modified Paths: -------------- trunk/SKPDFAnnotationNote.m Modified: trunk/SKPDFAnnotationNote.m =================================================================== --- trunk/SKPDFAnnotationNote.m 2007-06-12 15:18:06 UTC (rev 2277) +++ trunk/SKPDFAnnotationNote.m 2007-06-12 17:32:59 UTC (rev 2278) @@ -276,9 +276,9 @@ if (type == SKASHighlightNote) markupType = kPDFMarkupTypeHighlight; else if (type == SKASUnderlineNote) + markupType = kPDFMarkupTypeUnderline; + else if (type == SKASStrikeOutNote) markupType = kPDFMarkupTypeStrikeOut; - else if (type == SKASStrikeOutNote) - markupType = kPDFMarkupTypeUnderline; if (self = [[SKPDFAnnotationMarkup alloc] initWithSelection:selection markupType:markupType]) { PDFPage *page = [[selection pages] objectAtIndex:0]; if (page && [self respondsToSelector:@selector(setPage:)]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit