QScintilla/Lexers/LexerPython.py

changeset 6105
cbd34d558bd9
parent 6048
82ad8ec9548c
child 6247
5c677a7f7d51
--- a/QScintilla/Lexers/LexerPython.py	Sat Feb 03 10:45:52 2018 +0100
+++ b/QScintilla/Lexers/LexerPython.py	Sat Feb 03 16:15:24 2018 +0100
@@ -83,7 +83,7 @@
         @param editor QScintilla editor
         @return amount of difference in indentation (integer)
         """
-        indent_width = Preferences.getEditor('IndentWidth')
+        indent_width = editor.getEditorConfig('IndentWidth')
         
         lead_spaces = editor.indentation(line)
         

eric ide

mercurial