|
Karsten Hopp |
e202b2 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e202b2 |
Subject: Patch 7.3.328
|
|
Karsten Hopp |
e202b2 |
Fcc: outbox
|
|
Karsten Hopp |
e202b2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e202b2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e202b2 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e202b2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e202b2 |
------------
|
|
Karsten Hopp |
e202b2 |
|
|
Karsten Hopp |
e202b2 |
Patch 7.3.328
|
|
Karsten Hopp |
e202b2 |
Problem: When command line wraps the cursor may be displayed wrong when
|
|
Karsten Hopp |
e202b2 |
there are multi-byte characters.
|
|
Karsten Hopp |
e202b2 |
Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
e202b2 |
Files: src/ex_getln.c
|
|
Karsten Hopp |
e202b2 |
|
|
Karsten Hopp |
e202b2 |
|
|
Karsten Hopp |
e202b2 |
*** ../vim-7.3.327/src/ex_getln.c 2011-09-30 16:23:21.000000000 +0200
|
|
Karsten Hopp |
e202b2 |
--- src/ex_getln.c 2011-09-30 17:39:27.000000000 +0200
|
|
Karsten Hopp |
e202b2 |
***************
|
|
Karsten Hopp |
e202b2 |
*** 2870,2875 ****
|
|
Karsten Hopp |
e202b2 |
--- 2870,2876 ----
|
|
Karsten Hopp |
e202b2 |
{
|
|
Karsten Hopp |
e202b2 |
msg_no_more = TRUE;
|
|
Karsten Hopp |
e202b2 |
i = cmdline_row;
|
|
Karsten Hopp |
e202b2 |
+ cursorcmd();
|
|
Karsten Hopp |
e202b2 |
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
|
|
Karsten Hopp |
e202b2 |
/* Avoid clearing the rest of the line too often. */
|
|
Karsten Hopp |
e202b2 |
if (cmdline_row != i || ccline.overstrike)
|
|
Karsten Hopp |
e202b2 |
*** ../vim-7.3.327/src/version.c 2011-09-30 17:30:27.000000000 +0200
|
|
Karsten Hopp |
e202b2 |
--- src/version.c 2011-09-30 17:45:28.000000000 +0200
|
|
Karsten Hopp |
e202b2 |
***************
|
|
Karsten Hopp |
e202b2 |
*** 711,712 ****
|
|
Karsten Hopp |
e202b2 |
--- 711,714 ----
|
|
Karsten Hopp |
e202b2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e202b2 |
+ /**/
|
|
Karsten Hopp |
e202b2 |
+ 328,
|
|
Karsten Hopp |
e202b2 |
/**/
|
|
Karsten Hopp |
e202b2 |
|
|
Karsten Hopp |
e202b2 |
--
|
|
Karsten Hopp |
e202b2 |
To define recursion, we must first define recursion.
|
|
Karsten Hopp |
e202b2 |
|
|
Karsten Hopp |
e202b2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e202b2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e202b2 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e202b2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|