status.setError(TextEditorMessages.TextEditorPreferencePage_emptyInput);
return status;
}
try {
EnumValue e= parseEnumValue(value);
if (!fValueSet.contains(e))
status.setError(NLSUtility.format(TextEditorMessages.TextEditorPreferencePage_invalidRange, new String[] {getValueByIndex(0).getLabel(), getValueByIndex(fItems.size() - 1).getLabel()}));
} catch (NumberFormatException e) {
status.setError(NLSUtility.format(TextEditorMessages.TextEditorPreferencePage_invalidInput, String.valueOf(value)));
}