File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
addon/appModules/notepad++ Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 77import weakref
88import addonHandler
99import config
10- from NVDAObjects .behaviors import EditableTextWithAutoSelectDetection , EditableTextWithSuggestions
11- from editableText import EditableText
12- import api
10+ try :
11+ from nvdaBuiltin .appModules .notepadPlusPlus import NppEdit as EditWindowBaseCls
12+ except ImportError :
13+ from NVDAObjects .behaviors import EditableTextWithAutoSelectDetection as EditWindowBaseCls
14+ from NVDAObjects .behaviors import EditableTextWithSuggestions
1315from queueHandler import registerGeneratorObject
1416import speech
1517import textInfos
1921import scriptHandler
2022import sys
2123import os
22- import tempfile
23- from threading import Timer
24- import re
2524
2625addonHandler .initTranslation ()
2726
28- class EditWindow (EditableTextWithAutoSelectDetection , EditableTextWithSuggestions ):
27+
28+ class EditWindow (EditWindowBaseCls , EditableTextWithSuggestions ):
2929 """An edit window that implements all of the scripts on the edit field for Notepad++"""
3030
3131
You can’t perform that action at this time.
0 commit comments