From 51a69e50080c31bce83492b9fa840c8f1b6ae480 2009-02-01 12:34:34 From: laurent dufrechou Date: 2009-02-01 12:34:34 Subject: [PATCH] Corrected completion with scintilla: if user had "a=xxx" and try to complete xxx than a= was removed. Related to bug #270558 --- diff --git a/IPython/gui/wx/ipython_view.py b/IPython/gui/wx/ipython_view.py index 6c0df02..d560ad5 100644 --- a/IPython/gui/wx/ipython_view.py +++ b/IPython/gui/wx/ipython_view.py @@ -412,7 +412,7 @@ class WxConsoleView(stc.StyledTextCtrl): self.AutoCompSetIgnoreCase(False) self.AutoCompSetAutoHide(False) #let compute the length ot last word - splitter = [' ', '(', '[', '{'] + splitter = [' ', '(', '[', '{','='] last_word = self.getCurrentLine() for breaker in splitter: last_word = last_word.split(breaker)[-1]