diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-05-17 03:51:57 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-05-17 03:51:57 (GMT) |
commit | 63af08aa93f49e36bba19d452b63575487161604 (patch) | |
tree | adc76104d13271be531eb118d7354c560417096d /Lib | |
parent | a80d57c41dfcfd7ae2b45b4987b28fe47ffa9dfd (diff) | |
download | cpython-63af08aa93f49e36bba19d452b63575487161604.zip cpython-63af08aa93f49e36bba19d452b63575487161604.tar.gz cpython-63af08aa93f49e36bba19d452b63575487161604.tar.bz2 |
Nigel Rowe's Patch
[ 735527 ] Re Bug [ 678325 ] ParenMatching Missing AutoIndent
AutoIndent was merged with EditorWindow, this patch corrects
the references in ParenMatch.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/ParenMatch.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/idlelib/ParenMatch.py b/Lib/idlelib/ParenMatch.py index 678d1fd..bd4e077 100644 --- a/Lib/idlelib/ParenMatch.py +++ b/Lib/idlelib/ParenMatch.py @@ -11,7 +11,7 @@ extensions what to capture the same event. """ import PyParse -from AutoIndent import AutoIndent, index2line +from EditorWindow import EditorWindow, index2line from configHandler import idleConf class ParenMatch: @@ -129,10 +129,10 @@ def keysym_type(ks): return "brace" class LastOpenBracketFinder: - num_context_lines = AutoIndent.num_context_lines - indentwidth = AutoIndent.indentwidth - tabwidth = AutoIndent.tabwidth - context_use_ps1 = AutoIndent.context_use_ps1 + num_context_lines = EditorWindow.num_context_lines + indentwidth = EditorWindow.indentwidth + tabwidth = EditorWindow.tabwidth + context_use_ps1 = EditorWindow.context_use_ps1 def __init__(self, editwin): self.editwin = editwin |