Bug 7469 Preferences -> Java -> Templates
The template body editor window at the bottom part of a Templates preferences page should contain both vertical and horizontal scroll bars.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fEditButton.setText(TemplateMessages.getString("TemplatePreferencePage.edit")); 
		fEditButton.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event e) {
				edit();
			}
		});
		fRemoveButton= new Button(buttons, SWT.PUSH);
		fRemoveButton.setLayoutData(getButtonGridData(fRemoveButton));
		fRemoveButton.setText(TemplateMessages.getString("TemplatePreferencePage.remove")); 
		fRemoveButton.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event e) {
				remove();
			}
		});
				
		createSpacer(buttons);
		fImportButton= new Button(buttons, SWT.PUSH);
		fImportButton.setLayoutData(getButtonGridData(fImportButton));
		fImportButton.setText(TemplateMessages.getString("TemplatePreferencePage.import")); 
		fImportButton.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event e) {
				import_();
			}
		});
		fExportButton= new Button(buttons, SWT.PUSH);
		fExportButton.setLayoutData(getButtonGridData(fExportButton));
		fExportButton.setText(TemplateMessages.getString("TemplatePreferencePage.export")); 
		fExportButton.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event e) {
				export();