On Wed, 27 Feb 2008 22:06:56 +0100 Joerg Fischer <[EMAIL PROTECTED]> wrote:

> Bert Wesarg wrote:
> 
> > Hmm, in my sense 'generic' means 'without a special purpose' but your
> > function name doesn't fit to this: its sounds very special to
> > completion. If you would call the find_completions() function like
> > get_tags/tips_from_file() (or get_definitions_from_file(mode)), and
> > this functions do only that, and a separate function which returns
> > 'completions' from a arbitrary string list, that would I call generic
> > and would be more useful for others, not only completion.
> 
> There is an old patch in the tracker written before the calltips
> feature and conflicting with it
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=520509&group_id=11005&atid=311005
> 
> Basically, I created only a light version of it.  A regex search on
> each piece of tag looks a bit inefficient.  Although I didn't try, I
> would be surprised if it runs fast on anything but very small tag
> files.  

Sorry for the late response, currently i'm just randomly looking into the
nedit mailing lists. 

My motivation for the patch mentioned above was completion (a situation 
where you don't know the exact tag entry to be returned). That's 
why it has a regex mode. Using it it's possible to select precisely - but not
restricted to literal modes - which of the tags entries are to be returned 
(for example for completion). This will be faster than returning ALL tags 
entries and later on sorting out unnecessary matches by macro actions. 
Note that for completion you'll want at least a case sensitive and a 
case insensitive version (for those exotic case insensitive languages)

Im happy that finally there is interest in this patch (Sorry, somehow i 
missed Thorstens ping from 2006-10-02 in the patch tracker). 
Maybe the reason why i'm still using nedit 5.3 patched is now 
disappearing. I gave up adopting my patches to new nedit versions 
after tips appeared - too massive changes, too little time, 
apparently no interest in the patch(es) by nedit developers. 

--
Markus 
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to