return find(view,buffer,start,false);
boolean repeat = false; String path = fileset.getNextFile(view,null); if(path == null) { GUIUtilities.error(view,"empty-fileset",null); return false; }  try { SearchMatcher matcher = getSearchMatcher(); if(matcher == null) { view.getToolkit().beep(); return false; }  record(view,"find(view)",false,true);  view.showWaitCursor();  loop:			for(;;) { while(path != null) { Buffer buffer = jEdit.openTemporary( view,null,path,false);   path = fileset.getNextFile(view,path);  if(buffer == null) continue loop;   if(!buffer.isLoaded()) VFSManager.waitForRequests();  int start;  if(view.getBuffer() == buffer && !repeat) { JEditTextArea textArea = view.getTextArea(); Selection s = textArea.getSelectionAtOffset( textArea.getCaretPosition()); if(s == null) start = textArea.getCaretPosition(); else if(reverse) start = s.getStart(); else start = s.getEnd(); } else if(reverse) start = buffer.getLength(); else start = 0;  if(find(view,buffer,start,repeat)) return true; }  if(repeat) { if(!BeanShell.isScriptRunning()) { view.getStatus().setMessageAndClear( jEdit.getProperty("view.status.search-not-found"));  view.getToolkit().beep(); } return false; }  boolean restart;  if(BeanShell.isScriptRunning()) { restart = true; } else if(wrap) { view.getStatus().setMessageAndClear( jEdit.getProperty("view.status.auto-wrap"));  if(jEdit.getBooleanProperty("search.beepOnSearchAutoWrap")) { view.getToolkit().beep(); } restart = true; } else { Integer[] args = { new Integer(reverse ? 1 : 0) }; int result = GUIUtilities.confirm(view, "keepsearching",args, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); restart = (result == JOptionPane.YES_OPTION); }  if(restart) {  path = fileset.getFirstFile(view); repeat = true; } else break loop; } } catch(Exception e) { Log.log(Log.ERROR,SearchAndReplace.class,e); Object[] args = { e.getMessage() }; if(args[0] == null) args[0] = e.toString(); GUIUtilities.error(view,"searcherror",args); } finally { view.hideWaitCursor(); }  return false;
	public static boolean find(View view, Buffer buffer, int start)		throws Exception	{		return find(view,buffer,start,false);	} //}}}