[rkward-cvs] SF.net SVN: rkward: [1809] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Apr 11 18:36:59 UTC 2007


Revision: 1809
          http://svn.sourceforge.net/rkward/?rev=1809&view=rev
Author:   tfry
Date:     2007-04-11 11:36:59 -0700 (Wed, 11 Apr 2007)

Log Message:
-----------
Don't forget to add newlines in piped commands

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/rkconsole.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2007-04-11 18:36:40 UTC (rev 1808)
+++ trunk/rkward/ChangeLog	2007-04-11 18:36:59 UTC (rev 1809)
@@ -1,3 +1,4 @@
+- fixed: when executing commands line by line from the script editor, line breaks would be omitted
 - Messages, warnings, and errors for plugin commands are shown in the output, instead of in a dialog
 
 --- Version 0.4.7 - Apr-11-2007

Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp	2007-04-11 18:36:40 UTC (rev 1808)
+++ trunk/rkward/rkward/rkconsole.cpp	2007-04-11 18:36:59 UTC (rev 1809)
@@ -792,7 +792,7 @@
 		current_command = command;
 		if (command_incomplete) {
 			RK_ASSERT (command_was_piped);
-			command_string.prepend (incomplete_command);
+			command_string.prepend (incomplete_command + '\n');
 			command->setCommand (command_string);
 		}
 		command_was_piped = true;


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




More information about the rkward-tracker mailing list