--- a/Preferences/ConfigurationPages/EditorHighlightersPage.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Preferences/ConfigurationPages/EditorHighlightersPage.py Fri Mar 11 16:51:57 2011 +0100 @@ -19,6 +19,7 @@ import Preferences + class EditorHighlightersPage(ConfigurationPageBase, Ui_EditorHighlightersPage): """ Class implementing the Editor Highlighter Associations configuration page. @@ -93,7 +94,7 @@ self.editorFileExtEdit.clear() self.editorLexerCombo.setCurrentIndex(0) self.pygmentsLexerCombo.setCurrentIndex(0) - self.editorLexerList.sortItems(self.editorLexerList.sortColumn(), + self.editorLexerList.sortItems(self.editorLexerList.sortColumn(), self.editorLexerList.header().sortIndicatorOrder()) @pyqtSlot() @@ -156,6 +157,7 @@ self.pygmentsLexerCombo.setEnabled(False) self.pygmentsLabel.setEnabled(False) + def create(dlg): """ Module function to create the configuration page.