Re: inputdialog() should use cancel value parameter

2012-07-16 Fir de Conversatie Christian Brabandt
Hi Bram! On Mo, 16 Jul 2012, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Mon, July 16, 2012 10:17, John Beckett wrote: > > > I don't know, but a short problem description follows. > > > > > > " In gvim, the following shows "cancel" if press Esc to cancel. > > > :set guioptions&

RE: inputdialog() should use cancel value parameter

2012-07-16 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Mon, July 16, 2012 10:17, John Beckett wrote: > > I don't know, but a short problem description follows. > > > > " In gvim, the following shows "cancel" if press Esc to cancel. > > :set guioptions& > > :echo '"'.inputdialog('Enter text ', 'default', 'cancel').'"' >

RE: inputdialog() should use cancel value parameter

2012-07-16 Fir de Conversatie Christian Brabandt
On Mon, July 16, 2012 10:17, John Beckett wrote: > I don't know, but a short problem description follows. > > " In gvim, the following shows "cancel" if press Esc to cancel. > :set guioptions& > :echo '"'.inputdialog('Enter text ', 'default', 'cancel').'"' > > " But the following shows "" if press

RE: inputdialog() should use cancel value parameter

2012-07-16 Fir de Conversatie John Beckett
I don't know, but a short problem description follows. " In gvim, the following shows "cancel" if press Esc to cancel. :set guioptions& :echo '"'.inputdialog('Enter text ', 'default', 'cancel').'"' " But the following shows "" if press Esc to cancel. :set guioptions+=c :echo '"'.inputdialog('Ente