window-edit
allows editing of text using an Emacs-subset editor.
Only a few simple Emacs commands are implemented.
(window-edit w x y width height &optional strings boxflg scroll endp)
x y width height
specify the offset and size of the editing area;
it is a good idea to draw a box around this area first. strings
is an initial list of strings; the return value is a list of strings.
scroll
is number of lines to scroll down before displaying text,
or T
to have one line only and terminate on return. endp
is T
to begin editing at the end of the first line. Example:
(window-draw-box-xy myw 48 48 204 204) (window-edit myw 50 50 200 200 '("Now is the time" "for all" "good"))