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
This commit is contained in:
@@ -198,7 +198,7 @@ class PyShellWindow(wxStyledTextCtrl, InteractiveInterpreter):
|
|||||||
|
|
||||||
# if not on the last line, duplicate the current line
|
# if not on the last line, duplicate the current line
|
||||||
if self.GetLineCount()-1 != self.GetCurrentLine():
|
if self.GetLineCount()-1 != self.GetCurrentLine():
|
||||||
text, col = self.GetCurrentLineText()
|
text, col = self.GetCurLine()
|
||||||
prompt = self.props['ps1']
|
prompt = self.props['ps1']
|
||||||
lp = len(prompt)
|
lp = len(prompt)
|
||||||
if text[:lp] == prompt:
|
if text[:lp] == prompt:
|
||||||
|
Reference in New Issue
Block a user