On 2011-04-30, Bram Moolenaar wrote:
> Sung Pae wrote:
> 
> > Currently, when `putting' from the "* and "+ registers, the register is
> > always pasted as MCHAR if it has been returned from the X clipboard.
> > 
> > However, vim convention implies that any string that ends in a \n or \r
> > should be expected to be behave like a linewise yank (see MAUTO).
> > 
> > Since it is easy in most GUI programs to explicitly make linewise
> > selections (typically via triple-click), this small patch marks strings
> > requested from the X clipboard as MLINE if they end in a NL or CR
> > character.
> > 
> > This is a very cheap operation.
> 
> Thanks for the patch.
> 
> If I understand it correctly, this is only for when pasting text from
> other applications, not from another Vim.
> 
> I would appreciate feedback from others, does this work as you would
> expect?

Copying and pasting seems to be working fine now.  I don't
understand what problem this patch is supposed to fix.  If I knew
what to look for, I would apply and test it.

Regards,
Gary

-- 
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