Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
31163:82787a78ff90 | 31164:7831da568864 |
---|---|
933 getcharsearch() return character search information | 933 getcharsearch() return character search information |
934 setcharsearch() set character search information | 934 setcharsearch() set character search information |
935 | 935 |
936 Working with text in another buffer: | 936 Working with text in another buffer: |
937 getbufline() get a list of lines from the specified buffer | 937 getbufline() get a list of lines from the specified buffer |
938 getbufoneline() get a one line from the specified buffer | |
938 setbufline() replace a line in the specified buffer | 939 setbufline() replace a line in the specified buffer |
939 appendbufline() append a list of lines in the specified buffer | 940 appendbufline() append a list of lines in the specified buffer |
940 deletebufline() delete lines from a specified buffer | 941 deletebufline() delete lines from a specified buffer |
941 | 942 |
942 *system-functions* *file-functions* | 943 *system-functions* *file-functions* |