Philippe Lhoste:

> 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?

   The Lua extension understands about the combination of string and
length arguments and knows how long Lua strings are so the call is
just
    editor:CopyText(props.FilePath)

   Neil

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to