dabo Commit
Revision 3107
Date: 2007-05-07 13:41:08 -0700 (Mon, 07 May 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3107
Changed:
U trunk/dabo/ui/uiwx/dEditor.py
Log:
Fixed a problem when both code completion and AutoAutoComplete were active.
Typing past the third character in a code completion popup closed the popup,
and opened the AutoAutoComplete popup instead. Now AutoAutoComplete is ignored
when code completion is active.
Diff:
Modified: trunk/dabo/ui/uiwx/dEditor.py
===================================================================
--- trunk/dabo/ui/uiwx/dEditor.py 2007-05-07 18:24:32 UTC (rev 3106)
+++ trunk/dabo/ui/uiwx/dEditor.py 2007-05-07 20:41:08 UTC (rev 3107)
@@ -742,10 +742,12 @@
self._posBeforeCompList = self.GetCurrentPos()
+ 1
dabo.ui.callAfter(self.codeComplete)
elif self.AutoAutoComplete:
- if keyChar in " ()[]{}.-":
- self.AutoCompCancel()
- return
- dabo.ui.callAfter(self.autoComplete,
minWordLen=self.AutoAutoCompleteMinLen)
+ if self.AutoCompActive():
+ if keyChar in " ()[]{}.-":
+ self.AutoCompCancel()
+ return
+ else:
+ dabo.ui.callAfter(self.autoComplete,
minWordLen=self.AutoAutoCompleteMinLen)
def _onPeriodActive(self):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]