From: <da...@us...> - 2006-03-20 09:34:40
|
Revision: 1996 Author: dandfra Date: 2006-03-20 01:34:27 -0800 (Mon, 20 Mar 2006) ViewCVS: http://svn.sourceforge.net/tora/?rev=1996&view=rev Log Message: ----------- Linux autocompletion works on Windows too. Remove the ifdef Modified Paths: -------------- trunk/tora/NEWS trunk/tora/src/tohighlightedtext.cpp Modified: trunk/tora/NEWS =================================================================== --- trunk/tora/NEWS 2006-03-18 19:50:23 UTC (rev 1995) +++ trunk/tora/NEWS 2006-03-20 09:34:27 UTC (rev 1996) @@ -13,6 +13,7 @@ 2006-03-14: Apply patch #1438322 to regain some QT3.1 compatability for RHEL-3 2006-03-18: Reverted patch #1438322: it hangs tora PL/SQL Debugger 2006-03-18: Fixed autocompletion on Linux +2006-03-20: Linux autocompletion works on Windows too. Remove the ifdef 1.3.21: Modified: trunk/tora/src/tohighlightedtext.cpp =================================================================== --- trunk/tora/src/tohighlightedtext.cpp 2006-03-18 19:50:23 UTC (rev 1995) +++ trunk/tora/src/tohighlightedtext.cpp 2006-03-20 09:34:27 UTC (rev 1996) @@ -277,12 +277,7 @@ void toComplPopup::keyPressEvent(QKeyEvent * e){ - if ((e->text() && e->text().length()>0 -#ifdef WIN32 - && e->text()!="\r" -#else - && e->key()!=Qt::Key_Return -#endif + if ((e->text() && e->text().length()>0 && e->key()!=Qt::Key_Return && e->text()!=" ") || e->key()==Qt::Key_Backspace){ this->editor->keyPressEvent(e); this->editor->autoCompleteFromAPIs(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |