Bug 43551 Background conflicts with syntax highlighting in Edit Template of code gneration [code generation]
I have set my syntax highlighting colors. They use white foreground and black background for comments. In Preferences Java Code Generation Code & Comments If I edit an comment entry, eg Types I can not see the comments as it is using the syntax highlighting setting of white foreground but does not use the syntax highlighted background (black) but uses a default background of white. So I get white on white. It needs to either use all syntax highlight colors including background or default colors or no colors.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterConfigurationBlock.java
item.setText(PreferencesMessages.getString("CodeFormatterPreferencePage.tab.style.tabtitle")); 
		item.setControl(styleComposite);
		item= new TabItem(folder, SWT.NONE);
		item.setText(PreferencesMessages.getString("CodeFormatterPreferencePage.tab.comment.tabtitle")); 
		item.setControl(commentComposite);
		fSourceViewer= createPreview(parent);
			
		updatePreview();
					
		return composite;
	}
	private static void createEnableDependency(final Button chief, final Button master, final Control slave) {
		SelectionListener listener= new SelectionListener() {
			public void widgetSelected(SelectionEvent e) {
				slave.setEnabled(master.getSelection() && chief.getSelection());
			}
			public void widgetDefaultSelected(SelectionEvent e) {
			}
		};
		chief.addSelectionListener(listener);
		master.addSelectionListener(listener);
		slave.setEnabled(master.getSelection() && chief.getSelection());
	}
	private static void createSelectionDependency(final Button master, final Control slave) {
		master.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent e) {
				slave.setEnabled(master.getSelection());
			}
			public void widgetDefaultSelected(SelectionEvent e) {
			}