38 @param indicator spell checking indicator |
38 @param indicator spell checking indicator |
39 @keyparam defaultLanguage the language to be used as the default (string). |
39 @keyparam defaultLanguage the language to be used as the default (string). |
40 The string should be in language locale format (e.g. en_US, de). |
40 The string should be in language locale format (e.g. en_US, de). |
41 @keyparam checkRegion reference to a function to check for a valid region |
41 @keyparam checkRegion reference to a function to check for a valid region |
42 """ |
42 """ |
43 QObject.__init__(self, editor) |
43 super().__init__(editor) |
44 |
44 |
45 self.editor = editor |
45 self.editor = editor |
46 self.indicator = indicator |
46 self.indicator = indicator |
47 if defaultLanguage is not None: |
47 if defaultLanguage is not None: |
48 self.setDefaultLanguage(defaultLanguage) |
48 self.setDefaultLanguage(defaultLanguage) |