[rkward-cvs] SF.net SVN: rkward: [1060] trunk/rkward/rkward/rkconsole.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Jan 4 12:09:39 UTC 2007
Revision: 1060
http://svn.sourceforge.net/rkward/?rev=1060&view=rev
Author: tfry
Date: 2007-01-04 04:09:38 -0800 (Thu, 04 Jan 2007)
Log Message:
-----------
Make "Syntax Error" message appear on the right line
Modified Paths:
--------------
trunk/rkward/rkward/rkconsole.cpp
Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp 2007-01-04 01:04:27 UTC (rev 1059)
+++ trunk/rkward/rkward/rkconsole.cpp 2007-01-04 12:09:38 UTC (rev 1060)
@@ -422,7 +422,7 @@
void RKConsole::rCommandDone (RCommand *command) {
RK_TRACE (APP);
if (command->errorSyntax ()) {
- editInterface(doc)->insertLine(doc->numLines(), i18n ("Syntax error"));
+ editInterface(doc)->insertLine(doc->numLines()-1, i18n ("Syntax error\n"));
}
if (command->errorIncomplete ()) {
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