Patch 8.2.5080
Problem:    When indenting gets out of hand it is hard to stop.
Solution:   When line gets too long set got_int.
Files:      src/indent.c


*** ../vim-8.2.5079/src/indent.c        2022-05-27 17:26:50.542119974 +0100
--- src/indent.c        2022-06-12 21:09:06.384461106 +0100
***************
*** 1781,1786 ****
--- 1781,1788 ----
            if (vcol >= MAXCOL)
            {
                emsg(_(e_resulting_text_too_long));
+               // set got_int to break out of any loop
+               got_int = TRUE;
                break;
            }
            if (has_mbyte)
*** ../vim-8.2.5079/src/version.c       2022-06-12 11:49:11.596611728 +0100
--- src/version.c       2022-06-12 21:10:17.688639924 +0100
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     5080,
  /**/

-- 
It is illegal for a driver to be blindfolded while operating a vehicle.
                [real standing law in Alabama, United States of America]

 /// 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/20220612201219.9FE2D1C28E0%40moolenaar.net.

Raspunde prin e-mail lui