eric6/QScintilla/Editor.py

changeset 7178
43e994af5ee0
parent 7164
6da6a0a5a448
child 7192
a22eee00b052
child 7214
f434af227a41
diff -r 29e9027f28c0 -r 43e994af5ee0 eric6/QScintilla/Editor.py
--- a/eric6/QScintilla/Editor.py	Thu Aug 29 18:59:54 2019 +0200
+++ b/eric6/QScintilla/Editor.py	Thu Aug 29 19:00:33 2019 +0200
@@ -622,7 +622,8 @@
             supportedLanguages = Lexers.getSupportedLanguages()
             if self.filetype in supportedLanguages:
                 bindName = supportedLanguages[self.filetype][1]
-            elif self.filetype in ["Python", "Python2", "Python3"]:
+            elif self.filetype in ["Python", "Python2", "Python3",
+                                   "MicroPython"]:
                 bindName = "dummy.py"
         
         if not bindName and line0.startswith("#!"):

eric ide

mercurial