Enables or disables automatically calling set-max-width in response to on-display-size, or gets the state of auto-wrapping. For text editors, this has the effect of wrapping the editor's contents to fit in a canvas displaying the editor (the widest one if multiple canvases display the editor). For pasteboard editors, ``auto-wrapping'' merely truncates the area of the pasteboard to match its canvas display.
Auto-wrapping is initially disabled.
Returns #t if auto-wrapping is enabled, #f otherwise.
Enables auto-wrapping if auto-wrap? is true, disables auto-wrapping otherwise. The on-display-size method is called immediately to update the editor's maximum width.