summaryrefslogtreecommitdiffstats
path: root/runtime/doc/usr_41.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-27 21:58:00 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-27 21:58:00 +0100
commit5a6ec10cc80ab02eeff644ab19b82312630ea855 (patch)
tree5014800ed4c174f1abe451009e6d3ab86261a698 /runtime/doc/usr_41.txt
parent968443efb5a2a1ed7e1084f2aff65a95f2d0a17b (diff)
patch 8.2.5034: there is no way to get the byte index from a virtual columnv8.2.5034
Problem: There is no way to get the byte index from a virtual column. Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477, closes #10098)
Diffstat (limited to 'runtime/doc/usr_41.txt')
-rw-r--r--runtime/doc/usr_41.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index 80b7e385cf..11f035b4e6 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -835,6 +835,7 @@ Cursor and mark position: *cursor-functions* *mark-functions*
screencol() get screen column of the cursor
screenrow() get screen row of the cursor
screenpos() screen row and col of a text character
+ virtcol2col() byte index of a text character on screen
getcurpos() get position of the cursor
getpos() get position of cursor, mark, etc.
setpos() set position of cursor, mark, etc.