(send a-wx:media-buffer do-edit op recursive time) -> void
op : small integer
recursive = #t : boolean
time = 0 : small integer
The op argument must be a valid edit command, one of:
- wx:const-edit-undo -- undoes the last operation
- wx:const-edit-redo -- undoes the last undo
- wx:const-edit-clear -- deletes the current selection
- wx:const-edit-cut -- cuts
- wx:const-edit-copy -- copies
- wx:const-edit-paste -- pastes
- wx:const-edit-kill -- cuts to the end of the current line, or cuts a newline if there is nothing between the selection and end of line
- wx:const-edit-select-all -- selects everything in the buffer
- wx:const-edit-insert-text-box -- inserts an editor buffer as an item in this buffer
- wx:const-edit-insert-graphic-box -- inserts a pasteboard buffer as an item in this buffer
- wx:const-edit-insert-image -- gets a filename
from the use and inserts the image as an item in this buffer
If recursive is not #f, then the command is passed on to
any active snips of this buffer (i.e., snips which own the caret).
See Cut and Paste for a discussion of the time argument.
See also
append-edit-items.