From: Francesco M. <fr...@us...> - 2007-01-03 23:14:44
|
Update of /cvsroot/wxlua/wxLua/samples In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10127 Modified Files: editor.wx.lua Log Message: reverted change erraneously committed Index: editor.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/editor.wx.lua,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** editor.wx.lua 3 Jan 2007 23:10:02 -0000 1.41 --- editor.wx.lua 3 Jan 2007 23:14:41 -0000 1.42 *************** *** 1,2271 **** ! -------------------------------------------------------------------------=--- ! -- Name: Editor.wx.lua ! -- Purpose: wxLua IDE ! -- Author: J Winwood ! -- Created: March 2002 ! -- Copyright: (c) 2002-5 Lomtick Software. All rights reserved. ! -- Licence: wxWidgets licence ! -------------------------------------------------------------------------=--- ! ! -- Equivalent to C's "cond ? a : b", all terms will be evaluated [...4340 lines suppressed...] ! for index = 1, #arg do ! fileName = arg[index] ! if fileName ~= "--" then ! LoadFile(fileName, nil, true) ! end ! end ! ! if notebook:GetPageCount() > 0 then ! notebook:SetSelection(0) ! else ! local editor = CreateEditor("untitled.lua") ! SetupKeywords(editor, true) ! end ! else ! local editor = CreateEditor("untitled.lua") ! SetupKeywords(editor, true) ! end ! ! --frame:SetIcon(wxLuaEditorIcon) --FIXME add this back ! frame:Show(true) |