On Tue, 28 Nov 2006 11:30:02 +0200
"Steve Donovan" <[EMAIL PROTECTED]> wrote:

> Hi guys,
> 
> I've got to the bottom of an irritating issue related to Lua not being
> thread safe.
>  It turns out that io.popen is the function to avoid at all costs; you
> can still use
> os.execute(), redirect to some temp file, and read that, so this is not
> a great
> disaster. Extman now does this and the instability is gone (fortunately
> I had
> a machine that was doing it _every_ time).  It is now handling
> OnUpdateUI
> as well.
> 
> http://mysite.mweb.co.za/residents/sdonovan/extman.zip 
> 
> There are two new examples. One of them allows you to
> select strings or comments with a double-click (normal symbols are
> still selected correctly) and the other allows you to select a block
> by clicking in the margin next to a fold line. 
> 
> This needed a binary-and here, so I've included hanzhao's excellent
> bit operations library, which is pure Lua.
> 
> These shortcuts are convenient, but not perfect.
> In a perfect universe, a script could tell whether a modifier
> key was pressed, and control this behaviour with the
> control key, etc.
> 
> steve d.
> 
> 
> -- 
> This message is subject to the CSIR's copyright, terms and conditions and
> e-mail legal notice. Views expressed herein do not necessarily represent the
> views of the CSIR.
>  
> CSIR E-mail Legal Notice
> http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
>  
> CSIR Copyright, Terms and Conditions
> http://mail.csir.co.za/CSIR_Copyright.html 
>  
> For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
> Legal Notice send a blank message with REQUEST LEGAL in the subject line to
> [EMAIL PROTECTED]
> 
> 


I installed the script as extman.lua and when I start Scite, I get the 
following:
/usr/share/scite//extman.lua:104: C stack overflow
>Lua: error occurred while loading startup script

Using the following on Fedora Core 6, AMD 86_64:
Version 1.71
    Aug 21 2006 09:25:55
by Neil Hodgson.
December 1998-August 2006.
http://www.scintilla.org
Lua scripting language by TeCGraf, PUC-Rio
    http://www.lua.org



-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Registered Linux User

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to