Nice would be SciTE had menu commands to copy the filename to the clipboard as path, name, c literal or link.
Often needed to insert file names in documents.
See CopyFileNameToClipboard() function in SciteWin.cxx (attached to #2986724)
This has been asked for before and there probably is sufficient use for it to be added but I don't think all the variants are needed, particularly the URL escaped form which is rather Germanic in its choice of characters to escape - that's the sort of specialized functionality that belongs in scripts.
This command does almost the same thing although it depends on the output.code.page being 65001 (UTF-8) since CopyText works using the pane's encoding:
This has been asked for before and there probably is sufficient use for it to be added but I don't think all the variants are needed, particularly the URL escaped form which is rather Germanic in its choice of characters to escape - that's the sort of specialized functionality that belongs in scripts.
This command does almost the same thing although it depends on the output.code.page being 65001 (UTF-8) since CopyText works using the pane's encoding:
command.name.2.*=Copy Path
command.mode.2.*=subsystem:lua,savebefore:no
command.2.*=dostring output:CopyText(props.FilePath)
Added File | Copy Path to copy the full path.