if (file.getContentDescription() == null || !FileBuffers.getTextFileBufferManager().isTextFileLocation(file.getFullPath()))
if (file.getContentDescription() == null || !FileBuffers.getTextFileBufferManager().isTextFileLocation(file.getFullPath(), false))
		public void locateMatches(IProgressMonitor progressMonitor, CharSequence searchInput, ITextSearchResultCollector collector, IResourceProxy proxy) throws CoreException {			IFile file= (IFile)proxy.requestResource();			if (file.getContentDescription() == null || !FileBuffers.getTextFileBufferManager().isTextFileLocation(file.getFullPath()))				return;			try {								BufferedReader reader= getBufferedReader(file);				boolean eof= false;				int detectedLineDelimiter= -1;				fPushback= false;				try {					while (!eof) {						StringBuffer sb= new StringBuffer(200);						int lineDelimiter= readLine(reader, sb);						eof= (lineDelimiter == -1);												if (detectedLineDelimiter == -1)							detectedLineDelimiter= lineDelimiter;												if (!eof && lineDelimiter != detectedLineDelimiter) {							detectedLineDelimiter= MIXED_LD;							break;						}						if (progressMonitor.isCanceled())							throw new OperationCanceledException(SearchMessages.TextSearchVisitor_canceled);					}					if (fLineDelimiter == detectedLineDelimiter)						collector.accept(proxy, 0, 0);				} finally {					if (reader != null)						reader.close();				}			} catch (IOException e) {				String[] args= { e.toString(), file.getFullPath().makeRelative().toString()};				String message= Messages.format(SearchMessages.TextSearchVisitor_error, args); 				throw new CoreException(new Status(IStatus.ERROR, NewSearchUI.PLUGIN_ID, Platform.PLUGIN_ERROR, message, e));			} finally {			}				}