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
int replaceOffset= getReplaceOffset();
			if (offset >= replaceOffset) {
				String content= document.get(replaceOffset, offset - replaceOffset);
				return fTemplate.getName().toLowerCase().startsWith(content.toLowerCase());
			}
		} catch (BadLocationException e) {
			
		}
		return false;
	}
	/*
	 * @see org.eclipse.jface.text.contentassist.ICompletionProposalExtension3#getReplacementString()
	 */
	public CharSequence getPrefixCompletionText(IDocument document, int completionOffset) {
		return fTemplate.getName();
	}
	/*
	 * @see org.eclipse.jface.text.contentassist.ICompletionProposalExtension3#getReplacementOffset()
	 */
	public int getPrefixCompletionStart(IDocument document, int completionOffset) {
		return getReplaceOffset();
	}
	/*
	 * @see org.eclipse.jface.text.contentassist.ICompletionProposalExtension4#isAutoInsertable()
	 */
	public boolean isAutoInsertable() {
		return fTemplate.isAutoInsertable();
	}
}