diff -r bacccfe28261 -r 841220c4dde2 QScintilla/Editor.py --- a/QScintilla/Editor.py Tue Apr 05 18:27:45 2011 +0200 +++ b/QScintilla/Editor.py Sat Apr 09 10:12:46 2011 +0200 @@ -3497,8 +3497,12 @@ Preferences.getEditor("AutoCompletionCaseSensitivity")) self.setAutoCompletionReplaceWord( Preferences.getEditor("AutoCompletionReplaceWord")) - self.setAutoCompletionShowSingle( - Preferences.getEditor("AutoCompletionShowSingle")) + try: + self.setAutoCompletionUseSingle( + Preferences.getEditor("AutoCompletionShowSingle")) + except AttributeError: + self.setAutoCompletionShowSingle( + Preferences.getEditor("AutoCompletionShowSingle")) autoCompletionSource = Preferences.getEditor("AutoCompletionSource") if autoCompletionSource == QsciScintilla.AcsDocument: self.setAutoCompletionSource(QsciScintilla.AcsDocument)