docs: function mxCellEditor(graph)
  {
  	this.graph = graph;
  	
  	// Stops editing after zoom changes
  	this.zoomHandler = mxUtils.bind(this, function()
  	{
  		if (this.graph.isEditing())
  		{
  			this.resize();
  		}
  	});
  	
  	this.graph.view.addListener(mxEvent.SCALE, this.zoomHandler);
  	this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE, this.zoomHandler);
  	
  	// Adds handling of deleted cells while editing
  	this.changeHandler = mxUtils.bind(this, function(sender)
  	{
  		if (this.editingCell != null && this.graph.getView().getState(this.editingCell) == null)
  		{
  			this.stopEditing(true);
  		}
  	});
  
  	this.graph.getModel().addListener(mxEvent.CHANGE, this.changeHandler);
  }