set-editor in canvas:info-mixin
Sets the editor that is displayed by the canvas, releasing the current
editor (if any). If the new editor already has an administrator that
is not associated with a editor-canvas%, then the new
editor is not installed into the canvas.
( -> voidsend a-canvas:info-mixin set-editor)
If redraw? is #f, then the editor is
not immediately drawn; in this case, something must force a redraw
later (e.g., a call to the
on-paint method).
If the canvas has a line count installed with
set-line-count, the canvas's minimum height is adjusted.
Calls
update-info to update the frame's info panel.