mitchell wrote:
April White wrote:
I have uploaded to:
http://www.scintilla.org/aprilw/scite-v174dev-april-2007-07-29.zip <http://www.scintilla.org/aprilw/scite-dev-april-2006-05-02.zip> the source code for my implementation a replacement for the SciTE command system, for both Win32 and GTK.

Is there a description on what exactly this is and does? I'm curious :)

It is a rewrite of the tool/command/job system. I wanted to be able to call external programs from within a Lua script, but I found the os.execute() to be too limited. I had first talked about this maybe a year ago and Neil gave me some suggestions.

So allow for the Lua system to add command's but not clash with the multi-threaded command system I had to redesign it. I got it working in Win32 but received no help on implementing it in GTK, so that had to wait until I got my Mandriva box running.

Which I did, and I've got the code working in GTK now as well. The 'command.go.needs....' system could even be extended so that instead of a simple two-step process it could be three or more. I know you could write a batch/shell script to do that, but some people are rigid in their wants and needs.

Or instead of re-writing the 'command.needs...' system you could create a Lua script:
   scite.Execute("step 1...")
   scite.Execute("step 2...")
   scite.Execute("step 3...")

Oh, I forgot to include the change to the SciTELua.html file (I think that is the one). I'll have to locate an old copy and upload it.

Is this enough enough information?

April

--
"The true measure of a man is how he treats someone who can do him absolutely no 
good."
-- Samuel Johnson (1709-1784)

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to