Sets the buffer that is viewed by the canvas, releasing the current buffer (if any). If the new buffer already has an administrator that is not associated with a wx:media-canvas%, then the new buffer is not installed into the canvas.
Removes the old edit's keymap from the frame, and adds the new one, when the canvas has the focus.