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