]> granicus.if.org Git - vim/commit
patch 9.0.0620: matchaddpos() can only add up to 8 matches v9.0.0620
authorBram Moolenaar <Bram@vim.org>
Thu, 29 Sep 2022 11:50:17 +0000 (12:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 29 Sep 2022 11:50:17 +0000 (12:50 +0100)
commit50faf02f43d7f1a56ec2023028fca7c72dbce83e
tree50ac366830d44eb27a8c7a183c6ae040f771468a
parent572a4433c8276d8e8f228a09f43b11afe0c85f6f
patch 9.0.0620: matchaddpos() can only add up to 8 matches

Problem:    matchaddpos() can only add up to 8 matches.
Solution:   Allocate the array of positions. (closes #11248)
runtime/doc/builtin.txt
src/drawscreen.c
src/match.c
src/structs.h
src/testdir/dumps/Test_matchaddpos_1.dump [new file with mode: 0644]
src/testdir/test_match.vim
src/version.c