Bug 127656 [api] remove 'selection' from IQuickAssistInvocationContext API methods
I20060214-0010. Remove 'selection' from IQuickAssistInvocationContext API methods.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionProcessor.java
* @see IContentAssistProcessor#computeCompletionProposals(ITextViewer, int)
	 */
	public ICompletionProposal[] computeQuickAssistProposals(IQuickAssistInvocationContext quickAssistContext) {
		ITextViewer viewer= quickAssistContext.getTextViewer();
		int documentOffset= quickAssistContext.getSelectionOffset();
		IEditorPart part= fAssistant.getEditor();
		int length= viewer != null ? viewer.getSelectedRange().y : 0;
		AssistContext context= new AssistContext(null, documentOffset, length);
		fgErrorMessage= null;
		ArrayList proposals= new ArrayList();
		IAnnotationModel model= null;
		IEditorInput input= part.getEditorInput();
		if (!(input instanceof IStorageEditorInput))
			return null;
		ITextFileBufferManager manager= FileBuffers.getTextFileBufferManager();
		IPath path= null;
		try {
			path= ((IStorageEditorInput)input).getStorage().getFullPath();
			if (path == null)
				return null;
			manager.connect(path, null);
		} catch (CoreException e) {
			JavaPlugin.log(e.getStatus());
			return null;
		}
		try {
			model= manager.getTextFileBuffer(path).getAnnotationModel();
			if (model != null) {
				processAnnotations(context, model, proposals);
			}