QScintilla/Exporters/ExporterHTML.py

changeset 6105
cbd34d558bd9
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
diff -r a5b9f6a38faf -r cbd34d558bd9 QScintilla/Exporters/ExporterHTML.py
--- a/QScintilla/Exporters/ExporterHTML.py	Sat Feb 03 10:45:52 2018 +0100
+++ b/QScintilla/Exporters/ExporterHTML.py	Sat Feb 03 16:15:24 2018 +0100
@@ -401,7 +401,7 @@
                 # export ReST to HTML
                 html = self.__generateFromReSTDocutils()
             else:
-                tabSize = Preferences.getEditor("TabWidth")
+                tabSize = self.editor.getEditorConfig("TabWidth")
                 if tabSize == 0:
                     tabSize = 4
                 wysiwyg = Preferences.getEditorExporter("HTML/WYSIWYG")

eric ide

mercurial