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
* @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#getDefaultOptions()
	 */
	protected Map getDefaultOptions() {
		final Map map= super.getDefaultOptions();
		final IFormattingContext context= new CommentFormattingContext();
		context.storeToMap(PreferenceConstants.getPreferenceStore(), map, true);
		return map;
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#getOptions(boolean)
	 */
	protected Map getOptions(boolean inheritJavaCoreOptions) {
		final Map map= super.getOptions(inheritJavaCoreOptions);
		final IFormattingContext context= new CommentFormattingContext();
		context.storeToMap(PreferenceConstants.getPreferenceStore(), map, false);
		return map;
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#performOk(boolean)
	 */
	public boolean performOk(boolean enabled) {
		if (super.performOk(enabled)) {
			final IFormattingContext context= new CommentFormattingContext();
			context.mapToStore(fWorkingValues, PreferenceConstants.getPreferenceStore());
			return true;
		}
		return false;
	}
}