QScintilla/Lexers/LexerProperties.py

changeset 948
fe7b94ed01ec
parent 945
8cd4d08fa9f6
child 1131
7781e396c903
--- a/QScintilla/Lexers/LexerProperties.py	Sat Mar 12 13:47:25 2011 +0100
+++ b/QScintilla/Lexers/LexerProperties.py	Sat Mar 12 17:42:26 2011 +0100
@@ -33,6 +33,10 @@
         Public slot to initialize the properties.
         """
         self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
+        try:
+            self.setInitialSpaces(Preferences.getEditor("PropertiesInitialSpaces"))
+        except AttributeError:
+            pass
     
     def isCommentStyle(self, style):
         """

eric ide

mercurial