--- a/QScintilla/Lexers/__init__.py Thu Dec 01 19:22:06 2016 +0100 +++ b/QScintilla/Lexers/__init__.py Sat Dec 03 15:05:49 2016 +0100 @@ -174,6 +174,17 @@ return supportedLanguages +def getSupportedApiLanguages(): + """ + Module function to get a list of supported API languages. + + @return list of supported API languages + @rtype list of str + """ + return [lang for lang in getSupportedLanguages().keys() + if lang != "Guessed" and not lang.startswith("Pygments|")] + + def getLanguageIcon(language, pixmap): """ Module function to get an icon for a language.