no message
This commit is contained in:
@@ -48,7 +48,7 @@ public class SPFEditor extends BaseEditor implements SPFEditorInterface {
|
||||
highlighter = (RSyntaxTextAreaHighlighter) getHighlighter();
|
||||
autoComplete = new SapforAutoComplete(this);
|
||||
//-------------------------
|
||||
float font_size = (float) (Global.mainModule.getDb()).settings.get(SettingName.EditorFontSize).toInt32();
|
||||
float font_size = (float) Global.properties.EditorFontSize;
|
||||
setFont(getFont().deriveFont(font_size));
|
||||
//-------------------------
|
||||
setText(Utils.ReadAllText(file.file).replace("\r", " "));
|
||||
@@ -187,8 +187,8 @@ public class SPFEditor extends BaseEditor implements SPFEditorInterface {
|
||||
}
|
||||
@Override
|
||||
protected void saveFont() {
|
||||
Global.mainModule.getPass(PassCode.UpdateSetting).Do(
|
||||
SettingName.EditorFontSize,
|
||||
Global.mainModule.getPass(PassCode.UpdateProperty).Do(
|
||||
"EditorFontSize",
|
||||
getFont().getSize());
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user