diff runtime/doc/usr_41.txt @ 31164:7831da568864 v9.0.0916

patch 9.0.0916: getbufline() is inefficient for getting a single line Commit: https://github.com/vim/vim/commit/ce30ccc06af7f2c03762e5b18dde37b26ea6ec42 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 21 19:57:04 2022 +0000 patch 9.0.0916: getbufline() is inefficient for getting a single line Problem: getbufline() is inefficient for getting a single line. Solution: Add getbufoneline().
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Nov 2022 21:00:06 +0100
parents 20cf2080f1ee
children a7801222c9c5
line wrap: on
line diff
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -935,6 +935,7 @@ Working with text in the current buffer:
 
 Working with text in another buffer:
 	getbufline()		get a list of lines from the specified buffer
+	getbufoneline()		get a one line from the specified buffer
 	setbufline()		replace a line in the specified buffer
 	appendbufline()		append a list of lines in the specified buffer
 	deletebufline()		delete lines from a specified buffer