set-editor in editor-snip%
Sets the editor contained by the snip, releasing the old editor in the snip (if any). If the new editor already has an administrator, then the new editor is not installed into the snip.
When an editor-snip% object is not inserted in an editor, it
does not have an administrator. During this time, it does not give its
contained editor an administrator, either. The administratorless
contained editor can therefore ``defect'' to some other display with an
administrator. When a contained editor defects and the snip is
eventually inserted into a different editor, the snip drops the
traitor contained editor, setting its contained editor to #f.
(-> voidsendan-editor-snipset-editoreditor)
editor:text%orpasteboard%object or#f