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
private void ensurePositionCategoryInstalled(final IDocument document, LinkedModeModel model) {
		if (!document.containsPositionCategory(getCategory())) {
			document.addPositionCategory(getCategory());
			final InclusivePositionUpdater updater= new InclusivePositionUpdater(getCategory());
			document.addPositionUpdater(updater);
			
			model.addLinkingListener(new ILinkedModeListener() {
				/*
				 * @see org.eclipse.jface.text.link.ILinkedModeListener#left(org.eclipse.jface.text.link.LinkedModeModel, int)
				 */
				public void left(LinkedModeModel environment, int flags) {
					try {
						document.removePositionCategory(getCategory());
					} catch (BadPositionCategoryException e) {
						
					}
					document.removePositionUpdater(updater);
				}
				public void suspend(LinkedModeModel environment) {}
				public void resume(LinkedModeModel environment, int flags) {}
			});
		}
	}
	private String getCategory() {
		return "TemplateProposalCategory_" + toString(); 
	}
	private int getCaretOffset(TemplateBuffer buffer) {
	
	    TemplateVariable[] variables= buffer.getVariables();
		for (int i= 0; i != variables.length; i++) {