|
Karsten Hopp |
c29862 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
c29862 |
Subject: Patch 7.2.341
|
|
Karsten Hopp |
c29862 |
Fcc: outbox
|
|
Karsten Hopp |
c29862 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c29862 |
Mime-Version: 1.0
|
|
Karsten Hopp |
c29862 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
c29862 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c29862 |
------------
|
|
Karsten Hopp |
c29862 |
|
|
Karsten Hopp |
c29862 |
Patch 7.2.341
|
|
Karsten Hopp |
c29862 |
Problem: Popup menu wraps to next line when double-wide character doesn't
|
|
Karsten Hopp |
c29862 |
fit. (Jiang Ma)
|
|
Karsten Hopp |
c29862 |
Solution: Display a ">" instead. (Dominique Pelle)
|
|
Karsten Hopp |
c29862 |
Files: src/screen.c
|
|
Karsten Hopp |
c29862 |
|
|
Karsten Hopp |
c29862 |
|
|
Karsten Hopp |
c29862 |
*** ../vim-7.2.340/src/screen.c 2009-11-25 13:03:29.000000000 +0100
|
|
Karsten Hopp |
c29862 |
--- src/screen.c 2010-01-19 17:34:21.000000000 +0100
|
|
Karsten Hopp |
c29862 |
***************
|
|
Karsten Hopp |
c29862 |
*** 6434,6439 ****
|
|
Karsten Hopp |
c29862 |
--- 6434,6446 ----
|
|
Karsten Hopp |
c29862 |
else
|
|
Karsten Hopp |
c29862 |
prev_c = u8c;
|
|
Karsten Hopp |
c29862 |
# endif
|
|
Karsten Hopp |
c29862 |
+ if (col + mbyte_cells > screen_Columns)
|
|
Karsten Hopp |
c29862 |
+ {
|
|
Karsten Hopp |
c29862 |
+ /* Only 1 cell left, but character requires 2 cells:
|
|
Karsten Hopp |
c29862 |
+ * display a '>' in the last column to avoid wrapping. */
|
|
Karsten Hopp |
c29862 |
+ c = '>';
|
|
Karsten Hopp |
c29862 |
+ mbyte_cells = 1;
|
|
Karsten Hopp |
c29862 |
+ }
|
|
Karsten Hopp |
c29862 |
}
|
|
Karsten Hopp |
c29862 |
}
|
|
Karsten Hopp |
c29862 |
#endif
|
|
Karsten Hopp |
c29862 |
***************
|
|
Karsten Hopp |
c29862 |
*** 9210,9216 ****
|
|
Karsten Hopp |
c29862 |
int force;
|
|
Karsten Hopp |
c29862 |
{
|
|
Karsten Hopp |
c29862 |
/*
|
|
Karsten Hopp |
c29862 |
! * Don't delete it right now, when not redrawing or insided a mapping.
|
|
Karsten Hopp |
c29862 |
*/
|
|
Karsten Hopp |
c29862 |
if (!redrawing() || (!force && char_avail() && !KeyTyped))
|
|
Karsten Hopp |
c29862 |
redraw_cmdline = TRUE; /* delete mode later */
|
|
Karsten Hopp |
c29862 |
--- 9217,9223 ----
|
|
Karsten Hopp |
c29862 |
int force;
|
|
Karsten Hopp |
c29862 |
{
|
|
Karsten Hopp |
c29862 |
/*
|
|
Karsten Hopp |
c29862 |
! * Don't delete it right now, when not redrawing or inside a mapping.
|
|
Karsten Hopp |
c29862 |
*/
|
|
Karsten Hopp |
c29862 |
if (!redrawing() || (!force && char_avail() && !KeyTyped))
|
|
Karsten Hopp |
c29862 |
redraw_cmdline = TRUE; /* delete mode later */
|
|
Karsten Hopp |
c29862 |
*** ../vim-7.2.340/src/version.c 2010-01-19 17:24:20.000000000 +0100
|
|
Karsten Hopp |
c29862 |
--- src/version.c 2010-01-19 17:39:56.000000000 +0100
|
|
Karsten Hopp |
c29862 |
***************
|
|
Karsten Hopp |
c29862 |
*** 683,684 ****
|
|
Karsten Hopp |
c29862 |
--- 683,686 ----
|
|
Karsten Hopp |
c29862 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c29862 |
+ /**/
|
|
Karsten Hopp |
c29862 |
+ 341,
|
|
Karsten Hopp |
c29862 |
/**/
|
|
Karsten Hopp |
c29862 |
|
|
Karsten Hopp |
c29862 |
--
|
|
Karsten Hopp |
c29862 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
c29862 |
124. You begin conversations with, "Who is your internet service provider?"
|
|
Karsten Hopp |
c29862 |
|
|
Karsten Hopp |
c29862 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c29862 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c29862 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
c29862 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|