result= new SearchPatternData(TYPE, REFERENCES, fIsCaseSensitive, text, null); }
}
	private SearchPatternData trySimpleTextSelection(ISelection selection) {		SearchPatternData result= null;		if (selection instanceof ITextSelection) {			BufferedReader reader= new BufferedReader(new StringReader(((ITextSelection)selection).getText()));			String text;			try {				text= reader.readLine();				if (text == null)					text= ""; //$NON-NLS-1$			} catch (IOException ex) {				text= ""; //$NON-NLS-1$			}			result= new SearchPatternData(TYPE, REFERENCES, fIsCaseSensitive, text, null);			}		return result;	}