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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202008221521.07MFLoPn737568%40masaka.moolenaar.net.