Revision: 12641
          http://sourceforge.net/p/skim-app/code/12641
Author:   hofman
Date:     2021-12-19 13:04:27 +0000 (Sun, 19 Dec 2021)
Log Message:
-----------
Rename cocoa keys for format command

Modified Paths:
--------------
    trunk/SKFormatCommand.m
    trunk/Skim.sdef

Modified: trunk/SKFormatCommand.m
===================================================================
--- trunk/SKFormatCommand.m     2021-12-19 12:58:09 UTC (rev 12640)
+++ trunk/SKFormatCommand.m     2021-12-19 13:04:27 UTC (rev 12641)
@@ -47,8 +47,8 @@
 - (id)performDefaultImplementation {
     id receiver = [self evaluatedReceivers];
     NSDictionary *args = [self evaluatedArguments];
-    id template = [args objectForKey:@"template"];
-    id file = [args objectForKey:@"to"];
+    id template = [args objectForKey:@"Template"];
+    id file = [args objectForKey:@"File"];
     NSAttributedString *attrString = nil;
     NSString *string = nil;
     NSDictionary *docAttrs = nil;

Modified: trunk/Skim.sdef
===================================================================
--- trunk/Skim.sdef     2021-12-19 12:58:09 UTC (rev 12640)
+++ trunk/Skim.sdef     2021-12-19 13:04:27 UTC (rev 12641)
@@ -566,11 +566,11 @@
                 <type type="file"/>
                 <type type="text"/>
                 <type type="rich text"/>
-                <cocoa key="template"/>
+                <cocoa key="Template"/>
             </parameter>
             <parameter name="to" type="file" code="to  " optional="yes"
                 description="The file to write the resulting text to.">
-                <cocoa key="to"/>
+                <cocoa key="File"/>
             </parameter>
             <result
                 description="The text or rich text generated using the 
template.">

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to