QScintilla/SpellChecker.py

changeset 775
1f5fb0d9cba1
parent 97
c4086afea02b
child 791
9ec2ac20e54e
equal deleted inserted replaced
773:e3b3c9a545d1 775:1f5fb0d9cba1
37 @param indicator spell checking indicator 37 @param indicator spell checking indicator
38 @keyparam defaultLanguage the language to be used as the default (string). 38 @keyparam defaultLanguage the language to be used as the default (string).
39 The string should be in language locale format (e.g. en_US, de). 39 The string should be in language locale format (e.g. en_US, de).
40 @keyparam checkRegion reference to a function to check for a valid region 40 @keyparam checkRegion reference to a function to check for a valid region
41 """ 41 """
42 QObject.__init__(self, editor)
43
42 self.editor = editor 44 self.editor = editor
43 self.indicator = indicator 45 self.indicator = indicator
44 if defaultLanguage is not None: 46 if defaultLanguage is not None:
45 self.setDefaultLanguage(defaultLanguage) 47 self.setDefaultLanguage(defaultLanguage)
46 if checkRegion is not None: 48 if checkRegion is not None:

eric ide

mercurial