Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29446/framework
Modified Files:
interact.py
Log Message:
Patch from Rémi Paucher; enter completes auto-complete
Index: interact.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/interact.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** interact.py 26 Nov 2008 08:39:32 -0000 1.18
--- interact.py 4 Dec 2008 12:44:44 -0000 1.19
***************
*** 443,446 ****
--- 443,452 ----
#
def ProcessEnterEvent(self, event ):
+ #If autocompletion has been triggered, complete and do not process event
+ if self.SCIAutoCActive():
+ self.SCIAutoCComplete()
+ self.SCICancel()
+ return
+
self.SCICancel()
# First, check for an error message
|