Sorry, Rick;  I was absent doing something intricate.

I've returned to extman and your immediate problem is in the most shaky
part of
the script; how to find the files in your scite_lua directly in a
platform-independent
way - scite_Files.  You'll notice there's a local variable path, but it
isn't set on Linux
(or strictly speaking, any GTK build)!  The fix is to add a line "path
= ''" (that's
an empty string) after that declaration. 'ls' already gives us a full
path so
path doesn't have to be fully set.

I've updated the files on the wiki, but they don't _seem_ to be
updated.
   http://lua-users.org/wiki/SciteExtMan 

So you can also get extman.zip (which now contains extman.lua as well
as the examples)
from http://mysite.mweb.co.za/residents/sdonovan/extman.zip 

There was a little bug in switch_buffers.lua which is also now fixed;
extman now uses
a better recipe to work out if a user entered a line in the editor or
the output pane. 
That makes the little script to create a Lua command prompt less
suprising ;) 
I would recommend it to anyone who wants to get a grip on Lua in SciTE,
because
this prompt  understands all the built-in stuff like 'editor' etc.

And (this is really cool!) it should now be possible to actually reload
scripts. (Shift-Ctrl-R).

I shall try to be a little bit more on the ball from now on.

steve d.


>>> Rick Sivernell <[EMAIL PROTECTED]> 19/10/2006 02:04 >>>
On Mon, 08 Nov 2004 11:14:26 +0200
"Steve Donovan" <[EMAIL PROTECTED]> wrote:

> Thanks to Jens, I've patched my SciteTags so that it works fine
> on Linux as well.  The only issue with Linux is that what calls
itself
> 'ctags' is often an imposter - it's the GNU ctags, which is a less
> sophisticated beast.  Get Exuberant ctags and it works just fine.
> 
> A little patch to extman as well;  under Linux/GTK1, closing the
> handle from popen would cause a hang-up (this is not a problem
> with standalone Lua!).  
> 
> I've been working on a ispell/aspell spell checker, and it's
> starting to work nicely with HTML as well - only looks at the
> body text.  Any interest?
> 
> steve d.
> 
Steve is this patch available to anyone, I have the following err 9in
output pane:
/usr/share/scite/extman.lua:266: attempt to concatenate local `path' (a
nil value)
>Lua: error occurred while loading startup script

 I am not a lua person, need a little help here, winders runs fine.

Thanks
-- 
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

-- 
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