Patch 8.2.1554
Problem: Crash in normal test.
Solution: Skip adjusting marks if there are no folds.
Files: src/fold.c
*** ../vim-8.2.1553/src/fold.c 2020-08-31 21:14:58.637323346 +0200
--- src/fold.c 2020-08-31 21:21:42.480305529 +0200
***************
*** 1515,1520 ****
--- 1515,1523 ----
linenr_T last;
linenr_T top;
+ if (gap->ga_len == 0)
+ return;
+
// In Insert mode an inserted line at the top of a fold is considered part
// of the fold, otherwise it isn't.
if ((State & INSERT) && amount == (linenr_T)1 && line2 == MAXLNUM)
*** ../vim-8.2.1553/src/version.c 2020-08-31 21:14:58.637323346 +0200
--- src/version.c 2020-08-31 21:22:23.676201691 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1554,
/**/
--
Not too long ago, a program was something you watched on TV...
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202008311923.07VJNTrH3133006%40masaka.moolenaar.net.