void (@NotNull AnActionEvent e) { final EditorImpl editor = getEditor(e); if (editor != null) { float step = myStep; if (myGlobal) { step *= UISettingsUtils.getInstance().getCurrentIdeScale(); } final float size = editor.getFontSize2D() + step; final float unscaledSize = UISettingsUtils.scaleFontSize(size, 1 / UISettingsUtils.getInstance().getCurrentIdeScale()); if (unscaledSize >= 8 && unscaledSize <= EditorFontsConstants.getMaxEditorFontSize()) { editor.setFontSize(size); if (myGlobal) { editor.adjustGlobalFontSize(unscaledSize); } } } }