--- a/QScintilla/Editor.py Mon Apr 04 19:24:07 2011 +0200 +++ b/QScintilla/Editor.py Sat Apr 09 10:12:22 2011 +0200 @@ -3493,8 +3493,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)