Bug 17646 Comments in Java Templates don't have right syntax coloring
F1 - open Template preferences - select filecomment observe: the preview doesn't rendere the filecomment using the defined color for comments, but it does use the color for the keyword this.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java
case (int) 'z' - (int) 'a' + 1:
				fPatternEditor.doOperation(ITextOperationTarget.UNDO);
				break;				
		}
	}
	private void handleVerifyKeyPressed(VerifyEvent event) {
		if (!event.doit)
			return;
		if (event.stateMask != SWT.CTRL)
			return;
			
		switch (event.character) {
			case ' ':
				fPatternEditor.doOperation(ISourceViewer.CONTENTASSIST_PROPOSALS);
				event.doit= false;
				break;
			
			case (int) 'z' - (int) 'a' + 1:
				fPatternEditor.doOperation(ITextOperationTarget.UNDO);
				event.doit= false;
				break;				
		}
	}
	private void initializeActions() {
		TextViewerAction action= new TextViewerAction(fPatternEditor, fPatternEditor.UNDO);
		action.setText(TemplateMessages.getString("EditTemplateDialog.undo")); 
		fGlobalActions.put(ITextEditorActionConstants.UNDO, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.CUT);
		action.setText(TemplateMessages.getString("EditTemplateDialog.cut"));