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('Enter text ', 'default', 'cancel').'"'

According to ':help inputdialog()' both should give "cancel".
Why is there a difference?

John

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui