425 QApplication.processEvents() |
425 QApplication.processEvents() |
426 |
426 |
427 self.editor.recolor(0, -1) |
427 self.editor.recolor(0, -1) |
428 lex = self.editor.getLexer() |
428 lex = self.editor.getLexer() |
429 |
429 |
430 tabSize = Preferences.getEditor("TabWidth") |
430 tabSize = self.editor.getEditorConfig("TabWidth") |
431 if tabSize == 0: |
431 if tabSize == 0: |
432 tabSize = 4 |
432 tabSize = 4 |
433 |
433 |
434 # get magnification value to add to default screen font size |
434 # get magnification value to add to default screen font size |
435 self.pr.fontSize = Preferences.getEditorExporter( |
435 self.pr.fontSize = Preferences.getEditorExporter( |