mirror of
https://github.com/python/cpython.git
synced 2024-11-28 08:20:55 +01:00
Nigel Rowe's Patch
[ 735527 ] Re Bug [ 678325 ] ParenMatching Missing AutoIndent AutoIndent was merged with EditorWindow, this patch corrects the references in ParenMatch.
This commit is contained in:
parent
a80d57c41d
commit
63af08aa93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user