lastActivationCount = this.pyContentAssistant.lastActivationCount;
doCycle();
updateStatus();
}
IScriptConsoleViewer viewer = (IScriptConsoleViewer) v;
try {
if (!PyCodeCompletionPreferencesPage.useCodeCompletion()) {
return new ICompletionProposal[0];
}
String commandLine = viewer.getCommandLine();
int cursorPosition = offset - viewer.getCommandLineOffset();
return interpreterShell.getCompletions(viewer, commandLine, cursorPosition, offset, this.whatToShow);
} catch (Exception e) {
Log.log(e);
CompletionError completionError = new CompletionError(e);