src/eric7/QScintilla/SpellChecker.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9618
f58ab8c5816b
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
7 Module implementing the spell checker for the editor component. 7 Module implementing the spell checker for the editor component.
8 8
9 The spell checker is based on pyenchant. 9 The spell checker is based on pyenchant.
10 """ 10 """
11 11
12 import contextlib
12 import os 13 import os
13 import contextlib 14
14 15 from PyQt6.QtCore import QObject, QTimer
15 from PyQt6.QtCore import QTimer, QObject
16 16
17 from eric7 import Preferences, Utilities 17 from eric7 import Preferences, Utilities
18 18
19 with contextlib.suppress(ImportError, AttributeError, OSError): 19 with contextlib.suppress(ImportError, AttributeError, OSError):
20 import enchant 20 import enchant

eric ide

mercurial