diff runtime/doc/builtin.txt @ 35710:c9eeff724dc4 v9.1.0590

patch 9.1.0590: Vim9: crash when accessing getregionpos() return value Commit: https://github.com/vim/vim/commit/d4d120720862ba21654e614d975d21738f8a02e4 Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Jul 16 20:34:16 2024 +0200 patch 9.1.0590: Vim9: crash when accessing getregionpos() return value Problem: Vim9: crash when accessing getregionpos() return value. Solution: Correct the return type (zeertzjq). fixes: #15272 closes: #15273 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Jul 2024 08:13:55 +0200
parents a0f822031bfc
children f7f4f803a0bd
line wrap: on
line diff
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -1,4 +1,4 @@
-*builtin.txt*	For Vim version 9.1.  Last change: 2024 Jul 11
+*builtin.txt*	For Vim version 9.1.  Last change: 2024 Jul 16
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -4804,6 +4804,8 @@ getregion({pos1}, {pos2} [, {opts}])			*
 <
 		Can also be used as a |method|: >
 			getpos('.')->getregion(getpos("'a"))
+<
+		Return type: list<string>
 
 <
 getregionpos({pos1}, {pos2} [, {opts}])            *getregionpos()*
@@ -4841,7 +4843,7 @@ getregionpos({pos1}, {pos2} [, {opts}]) 
 		Can also be used as a |method|: >
 			getpos('.')->getregionpos(getpos("'a"))
 <
-		Return type: list<string>
+		Return type: list<list<list<number>>>
 
 
 getregtype([{regname}])					*getregtype()*