--- a/QScintilla/Exporters/ExporterTEX.py Sat Feb 03 10:45:52 2018 +0100 +++ b/QScintilla/Exporters/ExporterTEX.py Sat Feb 03 16:15:24 2018 +0100 @@ -122,7 +122,7 @@ self.editor.recolor(0, -1) - tabSize = Preferences.getEditor("TabWidth") + tabSize = self.editor.getEditorConfig("TabWidth") if tabSize == 0: tabSize = 4