mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixes:
- Don't write editor font name twice when old font settings are used - Return font family from getFontName() as expected by tests
This commit is contained in:
+1
-5
@@ -249,7 +249,7 @@ public abstract class AbstractColorsScheme extends EditorFontCacheImpl implement
|
||||
|
||||
@Override
|
||||
public String getEditorFontName() {
|
||||
return getFont(EditorFontType.PLAIN).getFontName();
|
||||
return getFont(EditorFontType.PLAIN).getFamily();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -601,10 +601,6 @@ public abstract class AbstractColorsScheme extends EditorFontCacheImpl implement
|
||||
JdomKt.addOptionTag(parentNode, EDITOR_QUICK_JAVADOC_FONT_SIZE, getQuickDocFontSize().toString());
|
||||
}
|
||||
|
||||
if (useOldFontFormat) {
|
||||
JdomKt.addOptionTag(parentNode, EDITOR_FONT_NAME, myFontPreferences.getFontFamily());
|
||||
}
|
||||
|
||||
Element colorElements = new Element(COLORS_ELEMENT);
|
||||
Element attrElements = new Element(ATTRIBUTES_ELEMENT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user