Mercurial > vim
view src/proto/json.pro @ 28061:050d49de7a66 v8.2.4555
patch 8.2.4555: getmousepos() returns the wrong column
Commit: https://github.com/vim/vim/commit/986b0fd0c550d9834a3cc45dd87555c13152c391
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 13 12:06:07 2022 +0000
patch 8.2.4555: getmousepos() returns the wrong column
Problem: getmousepos() returns the wrong column. (Ernie Rael)
Solution: Limit to the text size, not the number of bytes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Mar 2022 13:15:04 +0100 |
parents | 0f7ae8010787 |
children | 85b07a942518 |
line wrap: on
line source
/* json.c */ char_u *json_encode(typval_T *val, int options); char_u *json_encode_nr_expr(int nr, typval_T *val, int options); int json_decode(js_read_T *reader, typval_T *res, int options); int json_find_end(js_read_T *reader, int options); void f_js_decode(typval_T *argvars, typval_T *rettv); void f_js_encode(typval_T *argvars, typval_T *rettv); void f_json_decode(typval_T *argvars, typval_T *rettv); void f_json_encode(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */