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