• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Révision0fc188347f8a7038992409e9b053e8df1f5f961f (tree)
l'heure2022-08-07 06:30:03
AuteurBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Message de Log

patch 9.0.0160: some diff mode tests fail

Commit: https://github.com/vim/vim/commit/83bf11a1ffc5a7bc4a5ba81747df606d69c1465a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 6 22:23:40 2022 +0100

patch 9.0.0160: some diff mode tests fail
Problem: Some diff mode tests fail.
Solution: Only advance "ptr" when a text property follows.

Change Summary

Modification

diff -r e580b15a240d -r 0fc188347f8a src/drawline.c
--- a/src/drawline.c Sat Aug 06 23:15:05 2022 +0200
+++ b/src/drawline.c Sat Aug 06 23:30:03 2022 +0200
@@ -3473,7 +3473,7 @@
34733473 ) || lcs_eol_one == -1)
34743474 break;
34753475 #ifdef FEAT_PROP_POPUP
3476- if (!wp->w_p_wrap)
3476+ if (!wp->w_p_wrap && text_prop_follows)
34773477 {
34783478 // do not output more of the line, only the "below" prop
34793479 ptr += STRLEN(ptr);
diff -r e580b15a240d -r 0fc188347f8a src/version.c
--- a/src/version.c Sat Aug 06 23:15:05 2022 +0200
+++ b/src/version.c Sat Aug 06 23:30:03 2022 +0200
@@ -736,6 +736,8 @@
736736 static int included_patches[] =
737737 { /* Add new patch number below this line */
738738 /**/
739+ 160,
740+/**/
739741 159,
740742 /**/
741743 158,
Afficher sur ancien navigateur de dépôt.