QScintilla/MiniEditor.py

changeset 5603
4f2dd0850803
parent 5389
9b1c800daff3
child 5742
dc9cd8059221
--- a/QScintilla/MiniEditor.py	Sat Mar 11 13:11:29 2017 +0100
+++ b/QScintilla/MiniEditor.py	Sat Mar 11 14:35:22 2017 +0100
@@ -2721,7 +2721,7 @@
         @return name of the selected pygments lexer (string)
         """
         from pygments.lexers import get_all_lexers
-        lexerList = sorted([l[0] for l in get_all_lexers()])
+        lexerList = sorted(l[0] for l in get_all_lexers())
         try:
             lexerSel = lexerList.index(self.getLanguage())
         except ValueError:

eric ide

mercurial