QScintilla/Editor.py

branch
sub_styles
changeset 6858
9d962e654978
parent 6845
4680adb641e0
child 6891
93f82da09f22
--- a/QScintilla/Editor.py	Thu Mar 14 19:39:51 2019 +0100
+++ b/QScintilla/Editor.py	Thu Mar 14 19:41:53 2019 +0100
@@ -1632,7 +1632,7 @@
             font = QFont(fdesc[0], int(fdesc[1]))
             self.lexer_.setDefaultFont(font)
         self.lexer_.readSettings(Preferences.Prefs.settings, "Scintilla")
-        if self.lexer_.hasSubStyles():
+        if self.lexer_.hasSubstyles():
             self.lexer_.readSubstyles(self)
         
         # now set the lexer properties
@@ -3313,7 +3313,7 @@
             if self.lexer_:
                 self.lexer_.readSettings(
                     Preferences.Prefs.settings, "Scintilla")
-                if self.lexer_.hasSubStyles():
+                if self.lexer_.hasSubstyles():
                     self.lexer_.readSubstyles(self)
                 self.lexer_.initProperties()
             self.setMonospaced(False)
@@ -4073,7 +4073,7 @@
         # read the lexer settings and reinit the properties
         if self.lexer_ is not None:
             self.lexer_.readSettings(Preferences.Prefs.settings, "Scintilla")
-            if self.lexer_.hasSubStyles():
+            if self.lexer_.hasSubstyles():
                 self.lexer_.readSubstyles(self)
             self.lexer_.initProperties()
             

eric ide

mercurial