--- a/QScintilla/Terminal.py Sat Sep 04 19:51:19 2010 +0200 +++ b/QScintilla/Terminal.py Sat Sep 04 19:51:48 2010 +0200 @@ -302,18 +302,18 @@ self.setUnmatchedBraceBackgroundColor( Preferences.getEditorColour("NonmatchingBraceBack")) if Preferences.getEditor("CustomSelectionColours"): - self.setSelectionBackgroundColor(\ + self.setSelectionBackgroundColor( Preferences.getEditorColour("SelectionBackground")) else: - self.setSelectionBackgroundColor(\ + self.setSelectionBackgroundColor( QApplication.palette().color(QPalette.Highlight)) if Preferences.getEditor("ColourizeSelText"): self.resetSelectionForegroundColor() elif Preferences.getEditor("CustomSelectionColours"): - self.setSelectionForegroundColor(\ + self.setSelectionForegroundColor( Preferences.getEditorColour("SelectionForeground")) else: - self.setSelectionForegroundColor(\ + self.setSelectionForegroundColor( QApplication.palette().color(QPalette.HighlightedText)) self.setSelectionToEol(Preferences.getEditor("ExtendSelectionToEol")) self.setCaretForegroundColor( @@ -388,7 +388,7 @@ """ Private slot to select a history entry to execute. """ - cmd, ok = QInputDialog.getItem(\ + cmd, ok = QInputDialog.getItem( self, self.trUtf8("Select History"), self.trUtf8("Select the history entry to execute (most recent shown last)."), @@ -930,4 +930,4 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences("terminalPage") + e5App().getObject("UserInterface").showPreferences("terminalPage") \ No newline at end of file