[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Environments
- From: Hakki Dogusan <dogusanh@...>
- Date: Thu, 31 Jan 2008 23:47:08 +0200
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