float () { try { return MathUtil.clamp(Float.parseFloat(myLineSpacingField.getText()), EditorFontsConstants.getMinEditorLineSpacing(), EditorFontsConstants.getMaxEditorLineSpacing()); } catch (NumberFormatException e) { return EditorFontsConstants.getDefaultEditorLineSpacing(); } }