lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Amitendra Mukherjee
> Sent: maandag 8 september 2014 14:22
> To: lua-l@lists.lua.org
> Cc: Bidyut mandal
> Subject: RE: Rule builder GUI for Lua

Please do not reuse another email from the list. Create a new email for a new topic instead. This prevents the timeline of different topics being mixed up in the different email systems used by people.

> 
> Hi,
> 
> I am calling a Lua file from my C++ application. Suppose, I have lua code
> like,
> 
> --------------------------------------------------------------------
> .
> b = LuaGameObject(gameobject)
> 
> b:setBalance(50)
> b:setMessage("from scripts")
> var1  = b:getBalance()
> var2 = b:getMessage()
> .
> ---------------------------------------------------------------------
> 
> Now is it possible to get all available method list by typing "b:", so that
> I can select the required method from that list.
> This functionality is working fine for system functions in SciTE editor.
> (eg, by typing "io.w", user can get option for choosing "write").
> 

I think ZeroBraneStudio comes closest to this for a Lua editor. Though you might have to write your own documentation for your modules (but I'm no expert on that)

Thijs


> Regards,
> Amitendra M