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/EditTemplateDialog.java
String varName= doc.get(offset, subject.getLength());
					Iterator iter= fProcessor.getContextType().variableIterator();
					while (iter.hasNext()) {
						TemplateVariable var= (TemplateVariable) iter.next();
						if (varName.equals(var.getName())) {
							return var.getDescription();
						}
					}
				}				
			} catch (BadLocationException e) {
			}
			return null;
		}
		/* (non-Javadoc)
		 * @see org.eclipse.jface.text.ITextHover#getHoverRegion(org.eclipse.jface.text.ITextViewer, int)
		 */
		public IRegion getHoverRegion(ITextViewer textViewer, int offset) {
			if (textViewer != null) {
				return JavaWordFinder.findWord(textViewer.getDocument(), offset);
			}
			return null;	
		}
		
	} 
	private static class TextViewerAction extends Action implements IUpdate {
	
		private int fOperationCode= -1;
		private ITextOperationTarget fOperationTarget;
	
		public TextViewerAction(ITextViewer viewer, int operationCode) {