Commit 63af08aa authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Nigel Rowe's Patch

[ 735527 ] Re Bug [ 678325 ] ParenMatching Missing AutoIndent

AutoIndent was merged with EditorWindow, this patch corrects
the references in ParenMatch.
parent a80d57c4
...@@ -11,7 +11,7 @@ extensions what to capture the same event. ...@@ -11,7 +11,7 @@ extensions what to capture the same event.
""" """
import PyParse import PyParse
from AutoIndent import AutoIndent, index2line from EditorWindow import EditorWindow, index2line
from configHandler import idleConf from configHandler import idleConf
class ParenMatch: class ParenMatch:
...@@ -129,10 +129,10 @@ def keysym_type(ks): ...@@ -129,10 +129,10 @@ def keysym_type(ks):
return "brace" return "brace"
class LastOpenBracketFinder: class LastOpenBracketFinder:
num_context_lines = AutoIndent.num_context_lines num_context_lines = EditorWindow.num_context_lines
indentwidth = AutoIndent.indentwidth indentwidth = EditorWindow.indentwidth
tabwidth = AutoIndent.tabwidth tabwidth = EditorWindow.tabwidth
context_use_ps1 = AutoIndent.context_use_ps1 context_use_ps1 = EditorWindow.context_use_ps1
def __init__(self, editwin): def __init__(self, editwin):
self.editwin = editwin self.editwin = editwin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment