Patch 9.0.0642 (after 9.0.0640)
Problem:    Breakindent test fails.
Solution:   Correct logic for resetting need_showbreak.
Files:      src/drawline.c


*** ../vim-9.0.0641/src/drawline.c      2022-10-02 21:29:18.416089542 +0100
--- src/drawline.c      2022-10-02 22:08:56.283591952 +0100
***************
*** 541,547 ****
        wlv->c_extra = NUL;
        wlv->c_final = NUL;
        wlv->n_extra = (int)STRLEN(sbr);
!       if ((wp->w_skipcol == 0 && wlv->startrow == 0) || !wp->w_p_wrap)
            wlv->need_showbreak = FALSE;
        wlv->vcol_sbr = wlv->vcol + MB_CHARLEN(sbr);
        // Correct end of highlighted area for 'showbreak',
--- 541,547 ----
        wlv->c_extra = NUL;
        wlv->c_final = NUL;
        wlv->n_extra = (int)STRLEN(sbr);
!       if (wp->w_skipcol == 0 || wlv->startrow != 0 || !wp->w_p_wrap)
            wlv->need_showbreak = FALSE;
        wlv->vcol_sbr = wlv->vcol + MB_CHARLEN(sbr);
        // Correct end of highlighted area for 'showbreak',
*** ../vim-9.0.0641/src/version.c       2022-10-02 21:46:54.603145385 +0100
--- src/version.c       2022-10-02 22:10:10.471634456 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     642,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
246. You use up your free 1 Gbyte in two days.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20221002211106.9ECEE1C09A3%40moolenaar.net.

Raspunde prin e-mail lui