Access to the standard drag and drop operations is provided in
the usual way using the mouse. Zed participates in drag and drop
operations on the document file types it supports, and on
well-formed content expressions, as delimited by
the current expression.
From inside Zed, a drag operation is initiated by clicking and holding
the left mouse button inside the extent of the current expression
as delimited by the expression cursor, and then moving the mouse
outside the extent of the current expression. The mouse cursor
then changes to an icon indicating whether or not the expression
may be dropped at the current point.
When an expression is dropped on a Zed window,
the expression being dropped replaces the
current expression just as for a paste operation.
Since the expression being dragged is also the
current expression in the source document,
Zed disallows dropping onto the source document
for the expression being dragged, as the operation
would have no effect in any case.
In addition to dropping an expression on a Zed window, you can also
drop files from the filesystem into the editor; this operation is identical
to the operation of opening the files. In the application edition,
each file is opened in its own window, and in the component edition,
one file is opened in the instance dropped upon.
More information about the drag and drop operations, the events
that invoke them, and their interaction with other
Mouse Actions can be
found in the Events section
of the Reference part
of this Users Guide.