From 34bf432149974cfab5531462969e9dab5c9c3bf2 2008-06-01 09:26:11 From: Laurent Dufréchou Date: 2008-06-01 09:26:11 Subject: [PATCH] Little patch to have indentation equal to 4 as in classical ipython --- diff --git a/IPython/gui/wx/ipython_view.py b/IPython/gui/wx/ipython_view.py index 553c7de..940dd8e 100644 --- a/IPython/gui/wx/ipython_view.py +++ b/IPython/gui/wx/ipython_view.py @@ -146,6 +146,9 @@ class WxConsoleView(stc.StyledTextCtrl): #self.SetUseAntiAliasing(True) self.SetLayoutCache(stc.STC_CACHE_PAGE) self.SetUndoCollection(False) + self.SetUseTabs(True) + self.SetIndent(4) + self.SetTabWidth(4) self.EnsureCaretVisible() diff --git a/IPython/gui/wx/wxIPython.py b/IPython/gui/wx/wxIPython.py old mode 100644 new mode 100755