[rkward-cvs] SF.net SVN: rkward:[3456] trunk/rkward/rkward/windows/rkcommandeditorwindow .cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Feb 23 10:39:13 UTC 2011


Revision: 3456
          http://rkward.svn.sourceforge.net/rkward/?rev=3456&view=rev
Author:   tfry
Date:     2011-02-23 10:39:13 +0000 (Wed, 23 Feb 2011)

Log Message:
-----------
Fix bug in running line-by-line

Modified Paths:
--------------
    trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp

Modified: trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp	2011-02-23 08:19:43 UTC (rev 3455)
+++ trunk/rkward/rkward/windows/rkcommandeditorwindow.cpp	2011-02-23 10:39:13 UTC (rev 3456)
@@ -617,7 +617,7 @@
 
 	KTextEditor::Cursor c = m_view->cursorPosition();
 	QString command = m_doc->line (c.line());
-	if (!command.isEmpty ()) RKConsole::pipeUserCommand (command);
+	if (!command.isEmpty ()) RKConsole::pipeUserCommand (command + '\n');
 
 	// advance to next line (NOTE: m_view->down () won't work on auto-wrapped lines)
 	c.setLine(c.line() + 1);


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