[previous] [up] [next]     [index]
Next: on-double-click Up: pasteboard Previous: on-default-event

on-delete

Called before a snip is deleted from the editor, after can-delete? is called to verify that the deletion is allowed. The after-delete method is guaranteed to be called after the delete has completed.

The editor is internally locked for writing when this method is called (see also Locks). Use after-delete to modify the editor, if necessary.



PLT