on-delete (augmentable only) in text%

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

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

See also on-edit-sequence.