From a2949715ec6ef0f440ffaebc1d883fe25fddb26b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 13 Oct 2000 03:14:35 +0000 Subject: [PATCH] More fixes for the new STC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/lib/pyshell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wxPython/lib/pyshell.py b/wxPython/wxPython/lib/pyshell.py index 780211f19a..5adf5623a6 100644 --- a/wxPython/wxPython/lib/pyshell.py +++ b/wxPython/wxPython/lib/pyshell.py @@ -198,7 +198,7 @@ class PyShellWindow(wxStyledTextCtrl, InteractiveInterpreter): # if not on the last line, duplicate the current line if self.GetLineCount()-1 != self.GetCurrentLine(): - text, col = self.GetCurrentLineText() + text, col = self.GetCurLine() prompt = self.props['ps1'] lp = len(prompt) if text[:lp] == prompt: