Bug 3323 - OpenOnSelection - no selection inside CodeFormatterPreferencePage.fTextListener initializer (1GGND3S)
Summary: OpenOnSelection - no selection inside CodeFormatterPreferencePage.fTextListen...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:53 EDT by Philipe Mulet CLA
Modified: 2002-03-01 04:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-10-10 22:53:13 EDT
No selection is available inside the method body of <modifyText> in the field initializer for CodeFormatterPreferencePage.fTextListener:

	private ModifyListener fTextListener= new ModifyListener() {
		public void modifyText(ModifyEvent e) {
			if (fTextOptions == null)																		<--- NO SELECTION FROM HERE
				return;
			Text source= (Text) e.widget;
			if (checkAllTextInputs(source)) {
				ConfigurableOption option= retrieveOption(source);
				option.setValueIndex(parseTextInput(source.getText()));
				updatePreview(fNewOptions);															<- TO HERE
			}
		}
	};
NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 17:09:29 EST
PRODUCT VERSION:
SDK 125

Comment 2 David Audel CLA 2002-02-28 10:46:18 EST
Fixed