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: |