To: vim_dev@googlegroups.com Subject: Patch 8.2.5080 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///