QScintilla/SpellChecker.py

changeset 1112
8a7d1b9d18db
parent 945
8cd4d08fa9f6
child 1131
7781e396c903
equal deleted inserted replaced
1109:9552b5e16a07 1112:8a7d1b9d18db
6 """ 6 """
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
12 import os
13
14 from PyQt4.QtCore import QTimer, QObject
15
16 import Preferences
17 import Utilities
11 18
12 try: 19 try:
13 import enchant 20 import enchant
14 except (ImportError, AttributeError, OSError): 21 except (ImportError, AttributeError, OSError):
15 pass 22 pass
16
17 import os
18
19 from PyQt4.QtCore import *
20
21 import Preferences
22 import Utilities
23 23
24 24
25 class SpellChecker(QObject): 25 class SpellChecker(QObject):
26 """ 26 """
27 Class implementing a pyenchant based spell checker. 27 Class implementing a pyenchant based spell checker.

eric ide

mercurial