boolean doLoad;
	public boolean load(final View view, boolean reload)	{		setFlag(LOADING,true);		undo = null;		if(!getFlag(NEW_FILE))		{			if(!getFlag(TEMPORARY) && view != null)				view.showWaitCursor();			if(file != null)				modTime = file.lastModified();			boolean doLoad;			// Only on initial load			if(!reload && autosaveFile != null && autosaveFile.exists())				doLoad = recoverAutosave(view);			else			{				if(autosaveFile != null)					autosaveFile.delete();				doLoad = true;			}			if(doLoad)			{				// this returns false if initial sanity				// checks (if the file is a directory, etc)				// fail				if(!vfs.load(view,this,path))				{					if(!getFlag(TEMPORARY) && view != null)						view.hideWaitCursor();					setFlag(LOADING,false);					return false;				}			}		}		// Do some stuff once loading is finished		VFSManager.runInAWTThread(new Runnable()		{			public void run()			{				undo = new UndoManager();				setFlag(LOADING,false);				if(getFlag(TEMPORARY))					return;				View _view = jEdit.getFirstView();				while(_view != null)				{					EditPane[] editPanes = _view						.getEditPanes();					for(int i = 0; i < editPanes.length; i++)					{						EditPane editPane = editPanes[i];						if(editPane.getBuffer() == Buffer.this)						{							editPane.getTextArea().setCaretPosition(0);							editPane.getTextArea().repaint();						}					}						_view = _view.getNext();				}				setMode();				propertiesChanged();				EditBus.addToBus(Buffer.this);				// send some EditBus messages				EditBus.send(new BufferUpdate(Buffer.this,					BufferUpdate.LOADED));				EditBus.send(new BufferUpdate(Buffer.this,					BufferUpdate.MARKERS_CHANGED));				if(view != null)					view.hideWaitCursor();			}		});		return true;	}