Revision: 6696
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6696&view=rev
Author:   hofman
Date:     2010-08-12 11:02:41 +0000 (Thu, 12 Aug 2010)

Log Message:
-----------
dummy implementation of read notes script command in NSDocument category

Modified Paths:
--------------
    trunk/NSDocument_SKExtensions.h
    trunk/NSDocument_SKExtensions.m

Modified: trunk/NSDocument_SKExtensions.h
===================================================================
--- trunk/NSDocument_SKExtensions.h     2010-08-11 09:25:39 UTC (rev 6695)
+++ trunk/NSDocument_SKExtensions.h     2010-08-12 11:02:41 UTC (rev 6696)
@@ -109,5 +109,6 @@
 - (id)handleFindScriptCommand:(NSScriptCommand *)command;
 - (void)handleShowTeXScriptCommand:(NSScriptCommand *)command;
 - (void)handleConvertNotesScriptCommand:(NSScriptCommand *)command;
+- (void)handleReadNotesScriptCommand:(NSScriptCommand *)command;
 
 @end

Modified: trunk/NSDocument_SKExtensions.m
===================================================================
--- trunk/NSDocument_SKExtensions.m     2010-08-11 09:25:39 UTC (rev 6695)
+++ trunk/NSDocument_SKExtensions.m     2010-08-12 11:02:41 UTC (rev 6696)
@@ -304,4 +304,9 @@
     [command setScriptErrorString:@"Notes document does not understand the 
'convert notes' command."];
 }
 
+- (void)handleReadNotesScriptCommand:(NSScriptCommand *)command {
+    [command setScriptErrorNumber:NSReceiversCantHandleCommandScriptError];
+    [command setScriptErrorString:@"Notes document does not understand the 
'read notes' command."];
+}
+
 @end


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 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to