Preferences/PreferencesLexer.py

branch
sub_styles
changeset 6858
9d962e654978
parent 6855
4d80c8cc99a1
child 6861
20899dc18e59
--- a/Preferences/PreferencesLexer.py	Thu Mar 14 19:39:51 2019 +0100
+++ b/Preferences/PreferencesLexer.py	Thu Mar 14 19:41:53 2019 +0100
@@ -97,7 +97,7 @@
         
         # read the last stored values from preferences file
         self.__lex.readSettings(Preferences.Prefs.settings, "Scintilla")
-        if self.__lex.hasSubStyles():
+        if self.__lex.hasSubstyles():
             self.__lex.loadSubstyles()
     
     def writeSettings(self):
@@ -105,8 +105,8 @@
         Public method to write the lexer settings.
         """
         self.__lex.writeSettings(Preferences.Prefs.settings, "Scintilla")
-        if self.__lex.hasSubStyles():
-            self.__lex.writeSubStyles()
+        if self.__lex.hasSubstyles():
+            self.__lex.writeSubstyles()
     
     def getStyles(self):
         """
@@ -121,7 +121,7 @@
             desc = self.__lex.description(i)
             if desc:
                 styles.append((desc, i, -1))
-        if self.__lex.hasSubStyles():
+        if self.__lex.hasSubstyles():
             for baseStyle in self.__lex.getBaseStyles():
                 for subStyle in range(self.__lex.substylesCount(baseStyle)):
                     desc = self.__lex.substyleDescription(baseStyle, subStyle)
@@ -233,7 +233,7 @@
         else:
             self.__lex.setPaper(c, style)
     
-    def defaulEolFill(self, style, substyle=-1):
+    def defaultEolFill(self, style, substyle=-1):
         """
         Public method to get the default eolFill flag for a style.
         

eric ide

mercurial