on-new-box in editor<%>
Creates and returns a new snip for an embedded editor. This
method is called by
insert-box.
( -> send an-editor on-new-box type)snip% object
type : symbol in '(text pasteboard)
Creates a
editor-snip% with either a sub-editor from
text% or sub-pasteboard from
pasteboard%, depending on whether type is 'text or
'pasteboard. The keymap (see
keymap%) and style list (see
style-list%) for of the new sub-editor are set to the keymap and style list of
this editor.