[previous] [up] [next]     [index]
Next: set-inset Up: editor-snip Previous: resize

set-editor

Sets the editor contained by the snip, relasing 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 a 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.



PLT