Preferences/ConfigurationPages/EditorKeywordsPage.py

changeset 3025
67064c71df21
parent 2964
84b65fb9e780
child 3058
0a02c433f52d
child 3160
209a07d7e401
equal deleted inserted replaced
3024:17c01303a239 3025:67064c71df21
32 from QScintilla.Lexers.LexerContainer import LexerContainer 32 from QScintilla.Lexers.LexerContainer import LexerContainer
33 33
34 self.__keywords = { 34 self.__keywords = {
35 "": ["", "", "", "", "", "", "", "", "", ""] 35 "": ["", "", "", "", "", "", "", "", "", ""]
36 } 36 }
37 languages = sorted([''] + \ 37 languages = sorted(
38 list(QScintilla.Lexers.getSupportedLanguages().keys())) 38 [''] + list(QScintilla.Lexers.getSupportedLanguages().keys()))
39 for lang in languages: 39 for lang in languages:
40 if lang: 40 if lang:
41 lex = QScintilla.Lexers.getLexer(lang) 41 lex = QScintilla.Lexers.getLexer(lang)
42 if isinstance(lex, LexerContainer): 42 if isinstance(lex, LexerContainer):
43 continue 43 continue

eric ide

mercurial