Re: [wxlua-users] Modification to editor.lua

2010-08-28 Thread AndreArpin
AndreArpin writes: OK, you can ignore all the code but not the thanks. The problem only exist in my editor inside a focus event. Sorry about the wasted time but I really appreciate your input. Andre PS: will be away for a while, good luck. -

Re: [wxlua-users] Modification to editor.lua

2010-08-28 Thread AndreArpin
John Labenski writes: > What do you have to do to give you an exception? I just tried starting > a debug session, step twice, and then close the wxLua executable from > the menu in MSW (exe from SF) and Linux without a problem. I don't > think that DestroyDebuggerServer() is the solution since i

Re: [wxlua-users] Modification to editor.lua

2010-08-27 Thread John Labenski
On Fri, Aug 27, 2010 at 8:40 AM, AndreArpin wrote: > > > Adding the DestroyDebuggerServer prevent exception on termination. > > frame:Connect( ID_EXIT, wx.wxEVT_COMMAND_MENU_SELECTED, >        function (event) >            if not SaveOnExit(true) then return end >            DestroyDebuggerServer(

Re: [wxlua-users] Modification to editor.lua

2010-08-24 Thread John Labenski
On Sun, Aug 22, 2010 at 11:26 AM, AndreArpin wrote: > change the function SaveFileAs(editor) to read > ... > > This will stop the editor to silently override existing file. Thanks, I've applied it in CVS. Regards, John Labenski ---