| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.328 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.3.328 |
| Problem: When command line wraps the cursor may be displayed wrong when |
| there are multi-byte characters. |
| Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto) |
| Files: src/ex_getln.c |
| |
| |
| |
| |
| |
| *** 2870,2875 **** |
| --- 2870,2876 ---- |
| { |
| msg_no_more = TRUE; |
| i = cmdline_row; |
| + cursorcmd(); |
| draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos); |
| /* Avoid clearing the rest of the line too often. */ |
| if (cmdline_row != i || ccline.overstrike) |
| |
| |
| |
| *** 711,712 **** |
| --- 711,714 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 328, |
| /**/ |
| |
| -- |
| To define recursion, we must first define recursion. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 /// |