> -----Original Message----- > From: Yegappan Lakshmanan [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 12:16 PM > To: David Fishburn > Cc: [email protected] > Subject: Re: Inputdialog() broken in Vim7 > > Hi David, > > On 6/8/06, David Fishburn <[EMAIL PROTECTED]> wrote: > > > > 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. > > > > This also works fine under vim 6.3. > > > > I am not sure if this has been reported before. > > > > This is a regression caused by the change to the input() > function to accept a user-specified completion. When > inputdialog() function is used in a non-GUI Vim, the input() > function is used internally.
So that means it will be fixed as some point and I shouldn't have to change the code in my plugin right? Thanks, Dave
