2010/5/24 Glebs <gleb_vare...@mail.ru>:
> Hello, I'm new to wxLua and have spent last days compiling it "just
> right". So, I'm posting this report in hope it will help anyone who
> has problems similar to mine.

Sounds great. I've yet to play with Lua scripting in SciTE, but it
sounds interesting. Thanks for posting the HOWTO as well.

> Restart SciTE and open some *.lua from 'C:\wxLua\samples'
> Hit F5 to start file execution
> note: editor.wx.lua wont run if you disable wxSTC. Also i had problems with 
> 'controls.wx.lua' (some controls and events wont work)

controls.wx.lua is a little nuts in that we bind to every control and
every event for each control. If you do find which control is or event
is causing the problem we can work on it.

> --------------------------------------------------------
> Conclusion.
>
> To allow SciTE run several Lua scripts at once look here:
> http://lua-users.org/wiki/SciteExtMan
>
> It would be nice to also have wxSTC interface to SciTE's Scintilla
> component, but it's highly unlikely for SciTE author to switch into
> using wxWidgets and would require otherwise creating bindings from
> Lua to Scintilla directly, while emulating wxWidgets framework,
> which is way beyond my capabilities.

Have you looked into how much code is involved in the SciTE Lua
module? Could a thin wrapper be written around it so that it would
call wxLua's wxSTC functions instead of the original SciTE functions?
In that case you could use all the SciTE Lua functions, but with a
wxLua wxSTC editor. Just a thought.

Regards,
    John

------------------------------------------------------------------------------

_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to