on-insert in text:basic-mixin
Called before items are inserted into the editor, after
can-insert? is called to verify that the insertion is ok. The
after-insert method is guaranteed to be called after the insert has
completed.
The editor is internally locked for writing during a call to this method
(see also Locks). Use
after-insert to modify the editor, if necessary.
See also
on-edit-sequence.
( -> void
send a-text:basic-mixin on-insert start end)
start : exact-int
end : exact-int
The start argument specifies the position of the insert. The
len argument specifies the total length (in positions) of the
items to be inserted.
See
set-styles-fixed.