on-display-size in editor<%>
This method is called by the editor's display whenever the display's
size (as reported by
get-view-size) changes, but it is called indirectly through
on-display-size-when-ready.
( -> voidsend an-editor on-display-size)
If automatic wrapping is enabled (see
auto-wrap ) then
set-max-width is called with the maximum width of all of the editor's
canvases (according to the administrators;
call-as-primary-owner in editor-canvas% is used with each canvas to set the administrator and get the view
size). If the editor is displayed but not in a canvas, the unique
width is obtained from the editor's administrator (there is only
one). If the editor is not displayed, the editor's maximum width is
not changed.