on-event in editor<%>
Handles mouse input to the editor. The event's x and y coordinates
are in the display's co-ordinate system; use the administrator's
get-dc method to obtain translation arguments (or use
dc-location-to-editor-location).
Consider overriding
on-local-event or
on-default-event instead of this method.
( -> void
send an-editor on-event event)
event : mouse-event% object
Either passes this event on to a caret-owning snip, selects a new
caret-owning snip (text% only) and passes the event on to
the selected snip, or calls
on-local-event. A new caret-owning snip is selected in a text% object
when the click is on an event-handling snip, and not too close to the
space between snips (see
get-between-threshold ).