52 Constructor |
52 Constructor |
53 |
53 |
54 @param language lexer language (string) |
54 @param language lexer language (string) |
55 """ |
55 """ |
56 PreferencesLexerError.__init__(self) |
56 PreferencesLexerError.__init__(self) |
57 self._errorMessage = \ |
57 self._errorMessage = QApplication.translate( |
58 QApplication.translate("PreferencesLexerError", |
58 "PreferencesLexerError", |
59 'Unsupported Lexer Language: {0}').format(language) |
59 'Unsupported Lexer Language: {0}').format(language) |
60 |
60 |
61 |
61 |
62 class PreferencesLexer(QsciLexer): |
62 class PreferencesLexer(QsciLexer): |
63 """ |
63 """ |
64 Subclass of QsciLexer to implement preferences specific lexer methods. |
64 Subclass of QsciLexer to implement preferences specific lexer methods. |