Skip to content

simplyfile.clipboard

Rizwanelansyah edited this page May 21, 2024 · 1 revision

simplyfile.clipboard

List of avaible function or variable on simplyfile.clipboard module:

alias SimplyFile.ClipboardRegister

aliased to

{
    method: 'copy' | 'cut',
    dir: SimplyFile.Directory
}

registers

registers on clipboard

contain(dir)

return true if dir is already in clipboard

copy(dir)

add dir to clipboard register with method copy

cut(dir)

add dir to clipboard register with method cut

paste(reg, dest, after)

paste the reg to dest and call after

paste_last(dest, after)

paste the last register on clipboard to dest and call after

paste_select(dest, after)

open the clipboard menu and paste the selected register to dest and call after

Clone this wiki locally