Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 287895
Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java (-3 / +7 lines)
Lines 349-357 Link Here
349
	}
349
	}
350
350
351
	private Font getFont() {
351
	private Font getFont() {
352
		IThemeManager themeManager = PlatformUI.getWorkbench().getThemeManager();
352
		if (mode == Mode.DEFAULT) {
353
		Font font = themeManager.getCurrentTheme().getFontRegistry().get(CommonThemes.FONT_EDITOR_COMMENT);
353
			IThemeManager themeManager = PlatformUI.getWorkbench().getThemeManager();
354
		return font;
354
			Font font = themeManager.getCurrentTheme().getFontRegistry().get(CommonThemes.FONT_EDITOR_COMMENT);
355
			return font;
356
		} else {
357
			return EditorUtil.TEXT_FONT;
358
		}
355
	}
359
	}
356
360
357
	public Mode getMode() {
361
	public Mode getMode() {

Return to bug 287895