Today (Thu, 27 Jul 2006), Bram Moolenaar wrote:
>>>> Yesterday (Sun, 23 Jul 2006), Bram Moolenaar wrote:
>>>>
>>>> While the return values are now correct, I still can't select the
>>>> last item(s) in an inputlist() when &cmdheight > 1.
>>>
>>> It appears to work just fine for me. Can you give a specific
>>> example?
>>
>> vim -u NONE -g -c "set cmdheight=3" \
>> -c "echo inputlist(['one', 'two', 'three', 'four', 'five'])"
>>
>> Try clicking on five or four and it won't return, but clicking on
>> three does. And I just discovered that since vim in the above
>> example is in compatible mode the return values from inputlist()
>> are wrong again, as if the patch was never applied. Either using
>> -N or ":set nocompatible" does correct the return values, but not
>> the other problem.
>
> Ah, 'compatible' causes a problem. Strange combination of using the
> mouse while 'compatible' is set. But it should work.
>
> I'll put this in the todo list.
Yes, but as I said, there's still a problem even when in
'nocompatible' mode:
vim -u NONE -Ng -c "set cmdheight=3" \
-c "echo inputlist(['one', 'two', 'three', 'four', 'five'])"
And try clicking on "five" or "four".
- Chrisitan
--
You can't be everyone's best friend.
Christian J. Robinson <[EMAIL PROTECTED]> http://infynity.spodzone.com/
PGP keys: 0x893B0EAF / 0xFB698360 http://infynity.spodzone.com/pgp