Patch 8.2.5080

7 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 12, 2022, 4:12:27 PM6/12/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages