Bug 4171 Accessibility: Code Formatter Page too large with a large text font (1GJL58E)
If the Text font is set to be very large (say 36 point) the CodeFormatter preference page is created so large that it ends up bigger than the display. The text in the preference page should be scrollable. It also does not pick up changes to the font size so if the user changes the size of the text font they will have to reopen the preference dialog to get the change picked up. STEPS 1) Set the Text Font in the font preference page to be 36 point 2) Close the preference dialog 3) Reopen the preference dialog and select the code formatter page NOTES:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java
private static final String PREF_NEWLINE_OPENING_BRACES= "org.eclipse.jdt.core.formatter.newline.openingBrace";
	private static final String PREF_NEWLINE_CONTROL_STATEMENT= "org.eclipse.jdt.core.formatter.newline.controlStatement";
	private static final String PREF_NEWLINE_CLEAR_ALL= "org.eclipse.jdt.core.formatter.newline.clearAll";
	private static final String PREF_NEWLINE_ELSE_IF= "org.eclipse.jdt.core.formatter.newline.elseIf";
	private static final String PREF_NEWLINE_EMPTY_BLOCK= "org.eclipse.jdt.core.formatter.newline.emptyBlock";
	private static final String PREF_LINE_SPLIT= "org.eclipse.jdt.core.formatter.lineSplit";	
	private static final String PREF_STYLE_COMPACT_ASSIGNEMENT= "org.eclipse.jdt.core.formatter.style.assignment";	
	private static final String PREF_TAB_CHAR= "org.eclipse.jdt.core.formatter.tabulation.char";	
	private static final String PREF_TAB_SIZE= "org.eclipse.jdt.core.formatter.tabulation.size";
	
	private static final String INSERT= "insert";
	private static final String DO_NOT_INSERT= "do not insert";
	
	private static final String COMPACT= "compact";
	private static final String NORMAL= "normal";
	
	private static final String TAB= "tab";
	private static final String SPACE= "space";
	
	private static final String CLEAR_ALL= "clear all";
	private static final String PRESERVE_ONE= "preserve one";
	
	private static String[] getAllKeys() {
		return new String[] {
			PREF_NEWLINE_OPENING_BRACES, PREF_NEWLINE_CONTROL_STATEMENT, PREF_NEWLINE_CLEAR_ALL,
			PREF_NEWLINE_ELSE_IF, PREF_NEWLINE_EMPTY_BLOCK, PREF_LINE_SPLIT,