getDocumentProperties().remove( "tabSize"); getDocumentProperties().remove( "maxLineLen");
	public boolean load(final View view, final boolean reload)	{		if(isPerformingIO())		{			GUIUtilities.error(view,"buffer-multiple-io",null);			return false;		}		setFlag(LOADING,true);		// view text areas temporarily blank out while a buffer is		// being loaded, to indicate to the user that there is no		// data available yet.		EditBus.send(new BufferUpdate(this,BufferUpdate.LOAD_STARTED));		undo = null;		final boolean loadAutosave;		if(!getFlag(NEW_FILE))		{			if(file != null)				modTime = file.lastModified();			// Only on initial load			if(!reload && autosaveFile != null && autosaveFile.exists())				loadAutosave = recoverAutosave(view);			else			{				if(autosaveFile != null)					autosaveFile.delete();				loadAutosave = false;			}			if(!loadAutosave)			{				// this returns false if initial sanity				// checks (if the file is a directory, etc)				// fail				if(!vfs.load(view,this,path))				{					setFlag(LOADING,false);					return false;				}			}		}		else			loadAutosave = false;		// Do some stuff once loading is finished		Runnable runnable = new Runnable()		{			public void run()			{				StringBuffer sbuf = (StringBuffer)getProperty(					BufferIORequest.LOAD_DATA);				if(reload)					clearProperties();				else				{					getDocumentProperties().remove(						BufferIORequest.LOAD_DATA);				}				if(sbuf != null)				{					try					{						// For `reload' command						remove(0,getLength());						insertString(0,sbuf.toString(),null);					}					catch(BadLocationException bl)					{						bl.printStackTrace();					}				}				undo = new MyUndoManager();				setMode();				setFlag(LOADING,false);				// if reloading a file, clear dirty flag				if(reload)					setDirty(false);				// if loadAutosave is false, we loaded an				// autosave file, so we set 'dirty' to true				// note that we don't use setDirty(),				// because a) that would send an unnecessary				// message, b) it would also set the				// AUTOSAVE_DIRTY flag, which will make				// the autosave thread write out a				// redundant autosave file				if(loadAutosave)					setFlag(DIRTY,true);				// send some EditBus messages				EditBus.send(new BufferUpdate(Buffer.this,					BufferUpdate.LOADED));				EditBus.send(new BufferUpdate(Buffer.this,					BufferUpdate.MARKERS_CHANGED));			}		};		if(getFlag(TEMPORARY))			runnable.run();		else			VFSManager.runInAWTThread(runnable);		return true;	}