Community
Participate
Working Groups
}
private Font getFont() {
IThemeManager themeManager = PlatformUI.getWorkbench().getThemeManager();
if (mode == Mode.DEFAULT) {
Font font = themeManager.getCurrentTheme().getFontRegistry().get(CommonThemes.FONT_EDITOR_COMMENT);
return font;
} else {
return EditorUtil.TEXT_FONT;
public Mode getMode() {