Re: Using tags to quick complete funtion names

2006-06-25 Thread Hari Krishna Dara
On Sat, 24 Jun 2006 at 7:12pm, Marc Weber wrote: Hi. I'm tired of writing things like getBlahFoo using getBc-xc-t is fine, but why type et? That's why I've written this complete function: Now you can type BFm-x to expand it to getBlahFoo it uses the created regexpr B.*F.* to filter all

Re: Using tags to quick complete funtion names

2006-06-25 Thread Gerald Lai
On Sat, 24 Jun 2006, Hari Krishna Dara wrote: [snip] I did try this to store the complete func and restore it after c-xc-u fun DoCompleteRegex() let cf = completefunc set completefunc=CompleteWithSimpleRegex normal c-xc-u set completefunc=cf

Re: Using tags to quick complete funtion names

2006-06-24 Thread Marc Weber
Here is a enhanced regular expression which is more useful this is tricky, either , or or lower to Upper change or Upper Upper lower will trigger inserting .* you type - regex to match tags inP - in.*P Aab - Aab ABab - AB.*ab A,ab - A.*ab let pattern =