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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Dec 19 14:42:04 UTC 2011


Revision: 4133
          http://rkward.svn.sourceforge.net/rkward/?rev=4133&view=rev
Author:   tfry
Date:     2011-12-19 14:42:04 +0000 (Mon, 19 Dec 2011)
Log Message:
-----------
Prevent automatic invocation of text hints for now. They don't mix well with manual Tab-completion.
(However, it will make sense to allow the user to configure _all_ completion to be automatic, later.)

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

Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp	2011-12-16 19:43:13 UTC (rev 4132)
+++ trunk/rkward/rkward/rkconsole.cpp	2011-12-19 14:42:04 UTC (rev 4133)
@@ -84,6 +84,9 @@
 	RK_ASSERT (view);
 	confint->setConfigValue ("dynamic-word-wrap", false);
 
+	KTextEditor::CodeCompletionInterface *iface = qobject_cast<KTextEditor::CodeCompletionInterface*> (view);
+	if (iface) iface->setAutomaticInvocationEnabled (false);
+
 	setFocusProxy (view);
 	setFocusPolicy (Qt::StrongFocus);
 	

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