Preferences/ConfigurationPages/EditorAPIsPage.py

branch
APIs
changeset 5358
2584d0a08bf4
parent 5350
57e82ffafdfc
child 5389
9b1c800daff3
--- a/Preferences/ConfigurationPages/EditorAPIsPage.py	Thu Dec 01 19:22:06 2016 +0100
+++ b/Preferences/ConfigurationPages/EditorAPIsPage.py	Sat Dec 03 15:05:49 2016 +0100
@@ -53,10 +53,9 @@
         import QScintilla.Lexers
         self.apis = {}
         apiLanguages = sorted(
-            [''] + list(QScintilla.Lexers.getSupportedLanguages().keys()))
+            [''] + list(QScintilla.Lexers.getSupportedApiLanguages()))
         for lang in apiLanguages:
-            if lang != "Guessed":
-                self.apiLanguageComboBox.addItem(lang)
+            self.apiLanguageComboBox.addItem(lang)
         apiProjectTypes = sorted(
             [("", "")] +
             [(trans, ptype) for ptype, trans in

eric ide

mercurial