eric6/QScintilla/Editor.py

changeset 7790
32b8db5a1fb4
parent 7785
9978016560ec
child 7824
096b3ebc1409
child 7836
2f0d208b8137
diff -r 4e68cf958634 -r 32b8db5a1fb4 eric6/QScintilla/Editor.py
--- a/eric6/QScintilla/Editor.py	Fri Oct 16 17:28:14 2020 +0200
+++ b/eric6/QScintilla/Editor.py	Sat Oct 17 14:35:29 2020 +0200
@@ -4403,6 +4403,8 @@
             Preferences.getEditor("ShowMarkerMapOnRight"))
         self.__markerMap.initColors()
         
+        self.setLanguage(self.fileName)
+        
         self.settingsRead.emit()
     
     def __setLineMarkerColours(self):

eric ide

mercurial