Bug 6181 Edit template panel doesn't resize
The panel is small and can't be resized. It also has a maximize button that is not operational.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java
action.setText(TemplateMessages.getString("EditTemplateDialog.cut")); 
		fGlobalActions.put(ITextEditorActionConstants.CUT, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.COPY);
		action.setText(TemplateMessages.getString("EditTemplateDialog.copy")); 
		fGlobalActions.put(ITextEditorActionConstants.COPY, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.PASTE);
		action.setText(TemplateMessages.getString("EditTemplateDialog.paste")); 
		fGlobalActions.put(ITextEditorActionConstants.PASTE, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.SELECT_ALL);
		action.setText(TemplateMessages.getString("EditTemplateDialog.select.all")); 
		fGlobalActions.put(ITextEditorActionConstants.SELECT_ALL, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.CONTENTASSIST_PROPOSALS);
		action.setText(TemplateMessages.getString("EditTemplateDialog.content.assist")); 
		fGlobalActions.put("ContentAssistProposal", action); 
		fSelectionActions.add(ITextEditorActionConstants.CUT);
		fSelectionActions.add(ITextEditorActionConstants.COPY);
		fSelectionActions.add(ITextEditorActionConstants.PASTE);
		
		
		MenuManager manager= new MenuManager(null, null);
		manager.setRemoveAllWhenShown(true);
		manager.addMenuListener(new IMenuListener() {
			public void menuAboutToShow(IMenuManager mgr) {
				fillContextMenu(mgr);
			}
		});
		StyledText text= fPatternEditor.getTextWidget();		
		Menu menu= manager.createContextMenu(text);
		text.setMenu(menu);
	}