Bug 114558 [content assist] Inconvenient ranking of template proposal on exact match
I20051031-2000 Steps to reproduce: /** * @return null<Ctrl+Space> */ -> template proposal for "null" template is ranked after link proposal for NPE -> On exact match, templates should be ranked highest in this case
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/TemplateProposal.java
if (fContext instanceof DocumentTemplateContext) {
				DocumentTemplateContext templateContext= (DocumentTemplateContext) fContext;
				IDocument document= templateContext.getDocument();
				String content= document.get(fRegion.getOffset(), fRegion.getLength());
				if (fTemplate.getName().startsWith(content))
					base += R_CASE;
			}
		} catch (BadLocationException e) {
			
		}
		
		
		final int TEMPLATE_RELEVANCE= 1;
		return base * 16 + TEMPLATE_RELEVANCE;
	}
	/*
	 * @see ICompletionProposal#apply(IDocument)
	 */
	public final void apply(IDocument document) {
		
	}
	/*
	 * @see org.eclipse.jface.text.contentassist.ICompletionProposalExtension2#apply(org.eclipse.jface.text.ITextViewer, char, int, int)
	 */
	public void apply(ITextViewer viewer, char trigger, int stateMask, int offset) {
		try {
			fContext.setReadOnly(false);
			TemplateBuffer templateBuffer;
			try {
				templateBuffer= fContext.evaluate(fTemplate);