Patch 8.2.1509
Problem: Vertical separator is cleared when dragging a popup window using a
multi-byte character for the border.
Solution: Only clear the character before the window if it is using a
multi-byte character. (closes #6766)
Files: src/screen.c
*** ../vim-8.2.1508/src/screen.c 2020-07-08 23:09:24.595921773 +0200
--- src/screen.c 2020-08-22 17:16:38.710930361 +0200
***************
*** 464,470 ****
// First char of a popup window may go on top of the right half of a
// double-wide character. Clear the left half to avoid it getting the popup
// window background color.
! if (coloff > 0 && ScreenLines[off_to] == 0)
{
ScreenLines[off_to - 1] = ' ';
ScreenLinesUC[off_to - 1] = 0;
--- 464,471 ----
// First char of a popup window may go on top of the right half of a
// double-wide character. Clear the left half to avoid it getting the popup
// window background color.
! if (coloff > 0 && ScreenLines[off_to] == 0
! && ScreenLinesUC[off_to - 1] != 0)
{
ScreenLines[off_to - 1] = ' ';
ScreenLinesUC[off_to - 1] = 0;
*** ../vim-8.2.1508/src/version.c 2020-08-22 16:04:49.237415175 +0200
--- src/version.c 2020-08-22 17:17:48.010695083 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1509,
/**/
--
XML is a nice language for computers. Not for humans.
/// Bram Moolenaar -- Br...@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 ///