> -----Original Message-----
> From: David Fishburn [mailto:[EMAIL PROTECTED] 
> Sent: 08 June 2006 13:39
> To: [email protected]
> Subject: Inputdialog() broken in Vim7
> 
> 
> Vim 7 and 7.1-17 on WinXP SP2
> 
> This should affect all Vim platforms, not just Windows.
> 
> Could someone please confirm this is a bug.
> 
> If you run this command from a GUI enabled vim:
> :echo inputdialog('hello:', 10, -1)
> 
> You get a dialog box displayed which says "hello", with a 
> default value of
> 10.  Pressing OK, returns 10, pressing cancel returns -1.
> 
> If you run the same command from a console Vim, you get:
> E180: Invalid complete value: -1
> 
> :h E180
> Completion behavior                           *:command-completion*
>                                                       *E179* 
> *E180* *E181*
> By default, the arguments of user defined commands do not undergo
> completion.
> 
> This of course is not a user defined command.
> 

Confirmed, I get exactly the same.

---Zdenek

Reply via email to