Preferences/PreferencesLexer.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
67 Constructor 67 Constructor
68 68
69 @param language The lexer language. (string) 69 @param language The lexer language. (string)
70 @param parent The parent widget of this lexer. (QextScintilla) 70 @param parent The parent widget of this lexer. (QextScintilla)
71 """ 71 """
72 QsciLexer.__init__(self, parent) 72 super().__init__(parent)
73 73
74 # instantiate a lexer object for the given language 74 # instantiate a lexer object for the given language
75 lex = QScintilla.Lexers.getLexer(language) 75 lex = QScintilla.Lexers.getLexer(language)
76 if lex is None: 76 if lex is None:
77 raise PreferencesLexerLanguageError(language) 77 raise PreferencesLexerLanguageError(language)

eric ide

mercurial