Revision: 5491
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5491&view=rev
Author:   hofman
Date:     2009-07-17 00:01:32 +0000 (Fri, 17 Jul 2009)

Log Message:
-----------
set contents of freehand note if copied

Modified Paths:
--------------
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2009-07-16 21:13:28 UTC (rev 5490)
+++ trunk/SKPDFView.m   2009-07-17 00:01:32 UTC (rev 5491)
@@ -3047,11 +3047,13 @@
     }
     
     if (didDraw) {
-        [self addAnnotationWithType:SKInkNote contents:text page:page 
bounds:NSZeroRect];
+        [self addAnnotationWithType:SKInkNote contents:nil page:page 
bounds:NSZeroRect];
         if (pathColor)
             [activeAnnotation setColor:pathColor];
         if (border)
             [activeAnnotation setBorder:border];
+        if (text)
+            [activeAnnotation setString:text];
         [[self undoManager] setActionName:NSLocalizedString(@"Add Note", 
@"Undo action name")];
     }
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to