M EditorWindow.py

M PyShell.py

Idlefork SF Bug 440383 - IDLE goes into beep loop
Fix loop in EditorWindow.newline_and_indent_event() and
in addition fix submission of >>> prompt to PyParse.Parser

Eliminate extra attribute EditorWindow.auto_indent
This commit is contained in:
Kurt B. Kaiser 2002-12-16 02:07:11 +00:00
parent 8e5b53b3d9
commit 822a77fcc7
2 changed files with 8 additions and 5 deletions

View file

@ -1085,8 +1085,6 @@ class EditorWindow:
text.see("insert")
text.undo_block_stop()
auto_indent = newline_and_indent_event
# Our editwin provides a is_char_in_string function that works
# with a Tk text index, but PyParse only knows about offsets into
# a string. This builds a function for PyParse that accepts an