[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: SciTE 1.59 (OT)
- From: Philippe Lhoste <PhiLho@...>
- Date: Tue, 16 Mar 2004 15:54:41 +0100
Wim Couwenberg wrote:
Well, I use SciTE 1.57 on both Windows and Linux
(Slackware) platforms, with
Lua5, and SciTE it works fine for me.
I use SciTE 1.59 on Windows and it works fine (*). I
patched three files though:
1. scintilla/src/LexLua.cxx to fold the repeat ...
2. scintilla/src/LexOthers.cxx to recognize Lua 5
error messages in the message window.
Silly me. I implemented the recognition of Lua 4 messages here, but I
forgot to update to Lua 5...
3. scite/src/SciTEBuffers.cxx to extract file name
and line number from a Lua 5 error message.
You should, if not already done, submit these changes to Neil. Thanks
for the other people editing Lua with SciTE :-)
Note: this covers the editing of Lua programs with SciTE, not the
embedding of Lua within SciTE to run macros/scripts. This feature will
allow SciTE to be listed in the Lua applications page...
(*) There seems to be a bug in the ctrl-[shift]-tab
navigation through multiple buffers (SciTE crashes on
occasion) but this is off-topic.
It is because someone contributed code to manage tabs in Z-order (jump
to latest seen buffer when closing one or switching) but this code will
be removed because of these crashes. I desactivated it with
anyway, as I don't like this confusing behavior.
Bonus note for SciTE users:
will launch Lua manual (change name and path, of course) when hitting F1
in SciTE with a Lua file. If somebody converted the manual to .hlp or
.chm formats, we could even jump directly to the keyword under the caret...
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://philho.multimania.com (in French, for files to download)