On Wed, Jul 9, 2014 at 8:43 PM, Bram Moolenaar <[email protected]> wrote:
> > Yasuhiro Matsumoto wrote: > > > Copy texts into star register, like: CTRL-V jjjjll "*y, > > getregtype() should return "^V3". On linux environment, it works fine > > because vim seems to handle changes of clipboard. > > > > Below is a patch to re-calculate y_width. > > I'm a bit confused: Why would it work on Linux and not on MS-Windows? > I guess the value of y_width is computed but perhaps stored in the wrong > location? If that is so it would be better to copy the value of > y_width. > > Hmm, perhaps it works to copy y_width in copy_yank_reg() ? > No, that apparently already happens. Vim doesn't store y_width to clipboard, so we lost y_width when copy from clipboard. On Linux, Vim uses its register directly without accessing clipboard when Vim has ownership of it. When clipboard is owned by another Vim, we lost y_width just like on Windows. -- Yukihiro Nakadaira - [email protected] -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
