diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-14 20:09:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-14 20:09:04 +0100 |
commit | c9121f798f49fa71e814912cb186d89c164090c3 (patch) | |
tree | 7bf018b61ef5e6aff94c935e1638055a662ee2d3 /src/proto | |
parent | 0abd6cf62d65180dc2c40d67cd95f13b0691f7ea (diff) |
patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'v9.0.0751
Problem: 'scrolloff' does not work well with 'smoothscroll'.
Solution: Make positioning the cursor a bit better. Rename functions.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/charset.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/charset.pro b/src/proto/charset.pro index c7d5767954..0277483370 100644 --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -15,9 +15,10 @@ int ptr2cells(char_u *p); int vim_strsize(char_u *s); int vim_strnsize(char_u *s, int len); int chartabsize(char_u *p, colnr_T col); -int linetabsize(char_u *s); +int linetabsize_str(char_u *s); int linetabsize_col(int startcol, char_u *s); int win_linetabsize(win_T *wp, linenr_T lnum, char_u *line, colnr_T len); +int linetabsize(win_T *wp, linenr_T lnum); void win_linetabsize_cts(chartabsize_T *cts, colnr_T len); int vim_isIDc(int c); int vim_isNormalIDc(int c); |