> > I have applied a much simpler patch in CVS. I assume that you want to > ignore the "#!/bin/lua" at the beginning so I check for "#!" and rem > out the first line if it exists, this maintains line numbers. > > http://wxlua.cvs.sourceforge.net/viewvc/wxlua/wxLua/samples/editor.wx.lua? r1=1.60&r2=1.61 >
Actually the test should be for '#' not '#!' to be consistent with lua. Andre ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users