hIpPy wrote:
I was thinking if an option "Copy File Name" for each tab which would
copy the filename (or with the path) to the clipboard. Is that worth
implementing? And can someone?

A Lua script can do it:

function CopyPath()
  editor:CopyText(string.len(props.FilePath), props.FilePath)
end

Except that it doesn't work!

# Copy argument text to the clipboard.
fun void CopyText=2420(int length, string text)

Implementations seems to be consistent.
But I have to write:

function CopyPath()
  editor:CopyText(props.FilePath, string.len(props.FilePath))
end

to get it working.
What I am missing here?

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to