Loading ...
Sorry, an error occurred while loading the content.

68358Re: [patch] [test] test if :mksession saves cursor columns correctly in presence of tab and multibyte characters

Expand Messages
  • Christian Brabandt
    Feb 18 2:09 PM
    • 0 Attachment
      Hi Bram!

      On Mo, 18 Feb 2013, Bram Moolenaar wrote:

      > Christian Brabandt wrote:
      > > On So, 17 Feb 2013, Bram Moolenaar wrote:
      > >
      > > > I think using mb_string2cells() is wrong, because it counts double-wide
      > > > characters as two, while "l" counts them as one.
      > >
      > > Oh, I didn't know that.
      > >
      > > > How about using w_cursor.vcol but move with "|" instead of "l"?
      > >
      > > You mean w_cursor.col and using '|' instead of 'l'. That won't help
      > > here, I am afraid.
      > No, that doesn't work. I meant w_virtcol. It has to be validated
      > before using it. Might be tricky in other windows than the current
      > window.

      Hm, that was what the original patch was all about I think? If I know
      how to validate it, I can make a patch, using the already suggested

      Wenn Sie k├Ânnen, schieben sie diese Aufgabe (IT-Sicherheitschef) an
      einen Kollegen ab. Wenn nicht, arbeiten Sie professionell.
      -- Robert Niedermeier (Rechtsanwalt)

      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 vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 16 messages in this topic