[previous] [up] [next]     [contents] [index]
Next: without-callback Up: mred:media-text-edit Previous: on-focus

on-insert

Called before a given range is inserted into the buffer. If the return value is #f, then the insert will be aborted. Otherwise, after-insert is guaranteed to be called after the insert has completed.

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

See also on-edit-sequence.



PLT