lua-users home
lua-l archive

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


Mark Meijer yazmış:
Hi all (again :)

Question about Lua environments. I'm working on a little private
project/experiment that uses wxLua for its GUI. Now, wxLua comes with
a pretty cool Lua script that is a full-fledged editor for, well, Lua
scripts. And obviously it uses wxLua for its GUI too.

I'd like to be able to launch that editor from within my own app, but
unfortunately the editor script was really not written with that in
mind. It assumes it's alone in the universe, basically, and so makes
royal use of the global environment, shall we say.

I used wxLua's editor in my CairoPad application. I encapsulated editor as a Lua module (file is paneeditor.lua). Maybe you'll find some ideas there;



Hakki Dogusan