Re: Code completion and entries with duplicate 'word' attributes.

2006-04-24 Thread Eric Van Dewoestine
> > Allowing duplicate entries is not that difficult. Perhaps adding an > item to the dictionary for this is sufficient. Let's use "dup" for > that. > Just tested this with the latest snapshot... works like a champ. thanks for the quick turn around. -- eric

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-23 Thread Eric Van Dewoestine
> The completion stuff already is very complicated. Adding fancy things > is going to take lots of time and introduce new bugs. > > Allowing duplicate entries is not that difficult. Perhaps adding an > item to the dictionary for this is sufficient. Let's use "dup" for > that. > I would assume t

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-23 Thread Bram Moolenaar
Eric van Dewoestine wrote: > Have you spent any more time considering this? I really feel that it > is important to provide the flexibility to the plugin developers to > display completion result as they see fit. In my case I want to be > able to pass this flexibility on to the users so that th

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-23 Thread Ilya
Bram Moolenaar wrote: Since we are talking about completion, there is only one word to be completed "toLowerCase". That it can have different arguments doesn't matter for inserting "toLowerCase". You could have a function name ten times and need to type CTRL-N ten times to get to another word.

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-22 Thread Eric Van Dewoestine
Bram, Have you spent any more time considering this? I really feel that it is important to provide the flexibility to the plugin developers to display completion result as they see fit. In my case I want to be able to pass this flexibility on to the users so that they can decide which model THEY

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-21 Thread Eric Van Dewoestine
On 4/21/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Eric Van wrote: > > > It appears that code completion is removing any entries that have > > duplicate 'word' attributes. > > > > For completion results not using the dictionary format I fully agree > > that duplicates can safely be removed,

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-21 Thread Bram Moolenaar
Eric Van wrote: > It appears that code completion is removing any entries that have > duplicate 'word' attributes. > > For completion results not using the dictionary format I fully agree > that duplicates can safely be removed, but when using the dictionary > format two or more entries sharing

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-20 Thread Martin Stubenschrott
On Thu, Apr 20, 2006 at 06:52:44PM -0700, Eric Van wrote: > My code completion function returns a list with the following entries: > kind: 'f', word: 'toCharArray', menu: 'toCharArray() char[] - String' > kind: 'f', word: 'toString', menu: 'toString() String - String' > kind: 'f', w

Code completion and entries with duplicate 'word' attributes.

2006-04-20 Thread Eric Van
It appears that code completion is removing any entries that have duplicate 'word' attributes. For completion results not using the dictionary format I fully agree that duplicates can safely be removed, but when using the dictionary format two or more entries sharing the same 'word' attribute shou