can-do-edit-operation? in mode:host-text-mixin
Checks whether a generic edit command would succeed for the editor. This check is especially useful for enabling and disabling menus on demand.
( -> ???
send a-mode:host-text-mixin can-do-edit-operation? orig super-call op)
orig : ???
super-call : (??? -> ???)
op : ??
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.
( -> ???
send a-mode:host-text-mixin can-do-edit-operation? orig super-call op recursive?)
orig : ???
super-call : (??? -> ???)
op : ??
recursive? : ??
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.