data.horizontalSpan= 2;
	private SourceViewer createViewer(Composite parent) {		Label label= new Label(parent, SWT.NONE);		label.setText(TemplateMessages.getString("TemplatePreferencePage.preview")); //$NON-NLS-1$		GridData data= new GridData();		data.horizontalSpan= 2;		label.setLayoutData(data);				SourceViewer viewer= new SourceViewer(parent, null, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);		JavaTextTools tools= JavaPlugin.getDefault().getJavaTextTools();		IDocument document= new Document();		IDocumentPartitioner partitioner= tools.createDocumentPartitioner();		document.setDocumentPartitioner(partitioner);		partitioner.connect(document);				viewer.configure(new JavaSourceViewerConfiguration(tools, null));		viewer.setEditable(false);		viewer.setDocument(document);		viewer.getTextWidget().setBackground(getShell().getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));			Font font= JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT);		viewer.getTextWidget().setFont(font);				Control control= viewer.getControl();		data= new GridData(GridData.FILL_BOTH);		data.heightHint= convertHeightInCharsToPixels(5);		control.setLayoutData(data);				return viewer;	}