This buffer class is used by mred:media-text% to implement a text box with the media classes.
The callback procedure is called whenever the text of the buffer changes, or the focus moves into or out of the text box, or return is hit (when the text box control is created with the approrpaite style flag). The callback procedure is not called the first time until after callback-readyis called.
The return-cb procedure is called whenever a RETURN is enetered into the text box; if returns are allowed in the text control, the thunk passed to return-cb should be called, otherwise #f should be returned.
The buffer is used to implement control.