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]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

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

Reply via email to