|
Karsten Hopp |
01b76e |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
01b76e |
Subject: Patch 7.4.303
|
|
Karsten Hopp |
01b76e |
Fcc: outbox
|
|
Karsten Hopp |
01b76e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
01b76e |
Mime-Version: 1.0
|
|
Karsten Hopp |
01b76e |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
01b76e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
01b76e |
------------
|
|
Karsten Hopp |
01b76e |
|
|
Karsten Hopp |
01b76e |
Patch 7.4.303
|
|
Karsten Hopp |
01b76e |
Problem: When using double-width characters the text displayed on the
|
|
Karsten Hopp |
01b76e |
command line is sometimes truncated.
|
|
Karsten Hopp |
01b76e |
Solution: Reset the string lenght. (Nobuhiro Takasaki)
|
|
Karsten Hopp |
01b76e |
Files: src/screen.c
|
|
Karsten Hopp |
01b76e |
|
|
Karsten Hopp |
01b76e |
|
|
Karsten Hopp |
01b76e |
*** ../vim-7.4.302/src/screen.c 2014-05-22 15:51:00.734399594 +0200
|
|
Karsten Hopp |
01b76e |
--- src/screen.c 2014-05-22 16:02:24.294385701 +0200
|
|
Karsten Hopp |
01b76e |
***************
|
|
Karsten Hopp |
01b76e |
*** 6916,6930 ****
|
|
Karsten Hopp |
01b76e |
* a NUL.
|
|
Karsten Hopp |
01b76e |
*/
|
|
Karsten Hopp |
01b76e |
void
|
|
Karsten Hopp |
01b76e |
! screen_puts_len(text, len, row, col, attr)
|
|
Karsten Hopp |
01b76e |
char_u *text;
|
|
Karsten Hopp |
01b76e |
! int len;
|
|
Karsten Hopp |
01b76e |
int row;
|
|
Karsten Hopp |
01b76e |
int col;
|
|
Karsten Hopp |
01b76e |
int attr;
|
|
Karsten Hopp |
01b76e |
{
|
|
Karsten Hopp |
01b76e |
unsigned off;
|
|
Karsten Hopp |
01b76e |
char_u *ptr = text;
|
|
Karsten Hopp |
01b76e |
int c;
|
|
Karsten Hopp |
01b76e |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
01b76e |
unsigned max_off;
|
|
Karsten Hopp |
01b76e |
--- 6916,6931 ----
|
|
Karsten Hopp |
01b76e |
* a NUL.
|
|
Karsten Hopp |
01b76e |
*/
|
|
Karsten Hopp |
01b76e |
void
|
|
Karsten Hopp |
01b76e |
! screen_puts_len(text, textlen, row, col, attr)
|
|
Karsten Hopp |
01b76e |
char_u *text;
|
|
Karsten Hopp |
01b76e |
! int textlen;
|
|
Karsten Hopp |
01b76e |
int row;
|
|
Karsten Hopp |
01b76e |
int col;
|
|
Karsten Hopp |
01b76e |
int attr;
|
|
Karsten Hopp |
01b76e |
{
|
|
Karsten Hopp |
01b76e |
unsigned off;
|
|
Karsten Hopp |
01b76e |
char_u *ptr = text;
|
|
Karsten Hopp |
01b76e |
+ int len = textlen;
|
|
Karsten Hopp |
01b76e |
int c;
|
|
Karsten Hopp |
01b76e |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
01b76e |
unsigned max_off;
|
|
Karsten Hopp |
01b76e |
***************
|
|
Karsten Hopp |
01b76e |
*** 7169,7175 ****
|
|
Karsten Hopp |
01b76e |
--- 7170,7180 ----
|
|
Karsten Hopp |
01b76e |
col += mbyte_cells;
|
|
Karsten Hopp |
01b76e |
ptr += mbyte_blen;
|
|
Karsten Hopp |
01b76e |
if (clear_next_cell)
|
|
Karsten Hopp |
01b76e |
+ {
|
|
Karsten Hopp |
01b76e |
+ /* This only happens at the end, display one space next. */
|
|
Karsten Hopp |
01b76e |
ptr = (char_u *)" ";
|
|
Karsten Hopp |
01b76e |
+ len = -1;
|
|
Karsten Hopp |
01b76e |
+ }
|
|
Karsten Hopp |
01b76e |
}
|
|
Karsten Hopp |
01b76e |
else
|
|
Karsten Hopp |
01b76e |
#endif
|
|
Karsten Hopp |
01b76e |
*** ../vim-7.4.302/src/version.c 2014-05-22 15:51:00.738399594 +0200
|
|
Karsten Hopp |
01b76e |
--- src/version.c 2014-05-22 15:58:15.050390766 +0200
|
|
Karsten Hopp |
01b76e |
***************
|
|
Karsten Hopp |
01b76e |
*** 736,737 ****
|
|
Karsten Hopp |
01b76e |
--- 736,739 ----
|
|
Karsten Hopp |
01b76e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
01b76e |
+ /**/
|
|
Karsten Hopp |
01b76e |
+ 303,
|
|
Karsten Hopp |
01b76e |
/**/
|
|
Karsten Hopp |
01b76e |
|
|
Karsten Hopp |
01b76e |
--
|
|
Karsten Hopp |
01b76e |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
01b76e |
193. You ask your girlfriend to drive home so you can sit back with
|
|
Karsten Hopp |
01b76e |
your PDA and download the information to your laptop
|
|
Karsten Hopp |
01b76e |
|
|
Karsten Hopp |
01b76e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
01b76e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
01b76e |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
01b76e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|