[rkward-cvs] SF.net SVN: rkward: [1143] trunk/rkward/rkward/rkconsole.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Jan 14 17:19:48 UTC 2007


Revision: 1143
          http://svn.sourceforge.net/rkward/?rev=1143&view=rev
Author:   tfry
Date:     2007-01-14 09:19:48 -0800 (Sun, 14 Jan 2007)

Log Message:
-----------
Remove special handling for when something is selected outside the currently edited command.
It probably does more harm than good.

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

Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp	2007-01-14 17:16:53 UTC (rev 1142)
+++ trunk/rkward/rkward/rkconsole.cpp	2007-01-14 17:19:48 UTC (rev 1143)
@@ -192,16 +192,6 @@
 		return true;
 	}
 
-	if (hasSelectedText() 
-		   && (selectionInterfaceExt(doc)->selStartCol () < (int)prefix.length() 
-		   ||selectionInterfaceExt(doc)->selStartLine ()< (int)doc->numLines() -1)){ // The selection is wider than the current command
-		if (e->key () == Qt::Key_C && e->state () == Qt::ControlButton){ // We only allow to copy
-			copy();
-		}
-		
-		return true;
-	}
-
 	if (e->key () == Qt::Key_Up) {
 		commandsListUp (e->state() & Qt::ShiftButton);
 		return 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