label = PreferencesMessages
.getString("JavaEditorPreferencePage.wrapStringsSQ");//$NON-NLS-1$
- addCheckBox(group, label, PreferenceConstants.EDITOR_WRAP_STRINGS_SQ, 1);
+ button = addCheckBox(group, label,
+ PreferenceConstants.EDITOR_WRAP_STRINGS_SQ, 1);
label = PreferencesMessages
.getString("JavaEditorPreferencePage.escapeStringsSQ");
fTextFields.put(textControl, key);
if (isNumber) {
fNumberFields.add(textControl);
+ textControl.setText("0");
textControl.addModifyListener(fNumberFieldListener);
} else {
textControl.addModifyListener(fTextFieldListener);