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