status.updateBuffers();
status.updateBufferList();
	EditPane(View view, EditPane editPane, Buffer buffer)	{		super(new BorderLayout());		init = true;		this.view = view;		EditBus.addToBus(this);		status = new StatusBar(this);		add(BorderLayout.NORTH,status);		textArea = new JEditTextArea(view);		textArea.addCaretListener(new CaretHandler());		add(BorderLayout.CENTER,textArea);		markerHighlight = new MarkerHighlight();		textArea.getGutter().addCustomHighlight(markerHighlight);		textArea.getGutter().setContextMenu(GUIUtilities			.loadPopupMenu("view.gutter.context"));		if(editPane != null)			initTextArea(editPane.textArea);		else			propertiesChanged();		if(buffer == null)		{			if(editPane != null)				setBuffer(editPane.getBuffer());			else				setBuffer(jEdit.getFirstBuffer());		}		else			setBuffer(buffer);		status.updateBuffers(); // create buffers popup		init = false;	}