--- a/eric6/QScintilla/Lexers/__init__.py Fri Aug 23 20:08:33 2019 +0200 +++ b/eric6/QScintilla/Lexers/__init__.py Sat Aug 24 16:33:42 2019 +0200 @@ -139,6 +139,8 @@ 'dummy.py', "lexerPython.png"], "Python3": [QCoreApplication.translate('Lexers', "Python3"), 'dummy.py', "lexerPython3.png"], + "MicroPython": [QCoreApplication.translate('Lexers', "MicroPython"), + 'dummy.py', "micropython"], "QSS": [QCoreApplication.translate('Lexers', "QSS"), 'dummy.qss', "lexerCSS.png"], "Ruby": [QCoreApplication.translate('Lexers', "Ruby"), 'dummy.rb', @@ -228,7 +230,8 @@ """ if not pyname: try: - if language in ["Python", "Python2", "Python3", "Cython"]: + if language in ["Python", "Python2", "Python3", "Cython", + "MicroPython"]: from .LexerPython import LexerPython return LexerPython(language, parent) elif language == "C++":