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);
this.errorMessage = completionError.getErrorMessage();
//Make the error visible to the user!
return new ICompletionProposal[] { completionError };
}
}