Bug 114360 [templates][content assist] Template completion proposal in javadoc inserts a '<' and duplicates last character
I20051025-0800 + ZRH plugins from 20051028_1210 - Select a word in a javadoc comment - press Ctrl+Space => a '<' is inserted (common prefix?) - select the <code></code> proposal => the template is correctly applied, but the last character of the original selection is (wrongly) added to the end of the inserted proposal
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/TemplateProposal.java
Assert.isNotNull(template);
		Assert.isNotNull(context);
		Assert.isNotNull(region);
		fTemplate= template;
		fContext= context;
		fImage= image;
		fRegion= region;
		fDisplayString= null;
		fRelevance= computeRelevance();
	}
	/**
	 * Computes the relevance to match the relevance values generated by the
	 * core content assistant.
	 *
	 * @return a sensible relevance value.
	 */
	private int computeRelevance() {
		
		final int R_DEFAULT= 0;
		final int R_INTERESTING= 5;
		final int R_CASE= 10;
		final int R_NON_RESTRICTED= 3;
		final int R_EXACT_NAME = 4;
		final int R_INLINE_TAG = 31;
		int base= R_DEFAULT + R_INTERESTING + R_NON_RESTRICTED;
		try {
			if (fContext instanceof DocumentTemplateContext) {
				DocumentTemplateContext templateContext= (DocumentTemplateContext) fContext;
				IDocument document= templateContext.getDocument();
				String content= document.get(fRegion.getOffset(), fRegion.getLength());