float () { try { return MathUtil.clamp(Float.parseFloat(myEditorFontSizeField.getText()), EditorFontsConstants.getMinEditorFontSize(), EditorFontsConstants.getMaxEditorFontSize()); } catch (NumberFormatException e) { return EditorFontsConstants.getDefaultEditorFontSize(); } }