A wx:media-edit% object is a standard editor buffer. A buffer is displayed on the screen through a wx:media-canvas% object or some other view.
The linespacing argument sets the additional amount of space (in DC units) inserted between each line in the buffer when the buffer is displayed.
See set-tabs for information about tabstops and numtabs.
A new wx:keymap% object is created for the new buffer. See also get-keymap and set-keymap.
A new wx:style-list object is created for the new buffer. See also get-style-list and set-style-list.