Yasuhiro Matsumoto wrote:
> > Well, that's the other way around, using a backslash as the second byte.
> > I think we should handle that when the first byte is found, thus
> > skipping over both the bytes. I thought the patch looks at the
> > backslash. Or does the backslash actually need escaping? Then another
> > location might also need to be changed.
>
> This patch skip tail byte of multibyte. When '\' or '"' is found, it will be
> escaped with backslash. When lead byte of multibyte is found, it should be
> copied and be skipped tail byte of the multibute.
> Then, this patch is possible to be written like following also.
Thanks, this looks better.
--
ARTHUR: The swallow may fly south with the sun, or the house martin or the
plover seek warmer hot lands in winter, yet these are not strangers to
our land.
SOLDIER: Are you suggesting coconuts migrate?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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