One approach might be to use IFaceTableGen.py, GetScriptableInterface as a 
starting point.  There was some preliminary work on that a few years ago but 
I don't think it was ever finished.  I think it ran out of steam because 
auto-generated documentation wasn't going to be as nice as the hand-edited 
stuff in ScintillaDoc.html.  But it might get you started, maybe easier than 
working with the raw, unprocessed iface file.

To answer your specific question, blank (void) parameters are ignored by 
Lua.

There are some other special cases, too.  Some parameter types have special 
handling (keymod, stringresult, and "length").  As well, there are some 
unsupported parameter types (cells, textrange, findtext, and formatrange); 
Lua doesn't expose functions that use those.

If you need any more support figuring out what LuaExtension is doing for a 
given function, just and I'll be happy to help.  Having some more 
comprehensive documentation for Lua would be a great addition to make it 
accessible to more people.

Regards,
Bruce



"Howell, Andrew" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello,
> I thought I'd start some work on documenting the functions in
> scintilla.iface exposed via the Lua extension to try to give something 
> back.
>
> Some functions have parameters with a leading or trailing comma, what
> relevance does this have please?
>
> -- 
> TIA
> Andrew Howell
>
> please ignore disclaimer which ISP will add below
>
> _____________________________________________________________________
> The contents of this email may be priviledged and are confidential. It may 
> not be disclosed to or used by anyone other than the addressee(s), nor 
> copied in any way. If received in error, please advise the sender, then 
> delete it from your system.
>
> This message has been checked for all known viruses by the MessageLabs 
> Virus Control Centre. 



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

Reply via email to