Bug 76887 [content assist] Template validation is case sensitive
Test case: Type SYS Ctrl-Space Type o You are left with no code completions. This differs from the code completion proposals where the prefix matching is not case sensitive. (note this is a problem in both the JDT TemplateProposal and the JFace text TemplateProposal)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/TemplateProposal.java
* @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);
			} catch (TemplateException e1) {
				fSelectedRegion= fRegion;
				return;
			}
			
			int start= getReplaceOffset();
			int end= getReplaceEndOffset();
			end= Math.max(end, offset);
			
			
			IDocument document= viewer.getDocument();
			String templateString= templateBuffer.getString();	
			document.replace(start, end - start, templateString);