can-delete? in mode:host-text-mixin
Called before a range is deleted from the editor.
If the return value is #f, then the
delete will be aborted.
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-delete,
after-delete, and
on-edit-sequence.
( -> ???
send a-mode:host-text-mixin can-delete? orig super-call start len)
orig : ???
super-call : (??? -> ???)
start : ??
len : ??
If a surrogate is set, calls the surrogate
with the arguments it was passed, plus
and a function that calls the super method.this
if a surrogate is not set, calls the super method and returns that result.