120 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) |
120 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) |
121 QApplication.processEvents() |
121 QApplication.processEvents() |
122 |
122 |
123 self.editor.recolor(0, -1) |
123 self.editor.recolor(0, -1) |
124 |
124 |
125 tabSize = Preferences.getEditor("TabWidth") |
125 tabSize = self.editor.getEditorConfig("TabWidth") |
126 if tabSize == 0: |
126 if tabSize == 0: |
127 tabSize = 4 |
127 tabSize = 4 |
128 |
128 |
129 onlyStylesUsed = Preferences.getEditorExporter( |
129 onlyStylesUsed = Preferences.getEditorExporter( |
130 "TeX/OnlyStylesUsed") |
130 "TeX/OnlyStylesUsed") |