Mercurial > vim
view src/proto/cindent.pro @ 28841:77a00aa3e215 v8.2.4944
patch 8.2.4944: text properties are wrong after "cc"
Commit: https://github.com/vim/vim/commit/d0b1a09f44654bb5e29b09de1311845200f17d90
Author: LemonBoy <thatlemon@gmail.com>
Date: Thu May 12 18:45:18 2022 +0100
patch 8.2.4944: text properties are wrong after "cc"
Problem: Text properties are wrong after "cc". (Axel Forsman)
Solution: Pass the deleted byte count to inserted_bytes(). (closes https://github.com/vim/vim/issues/10412,
closes #7737, closes #5763)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 12 May 2022 20:00:02 +0200 |
parents | 0d798c7e1865 |
children |
line wrap: on
line source
/* cindent.c */ int cin_is_cinword(char_u *line); int is_pos_in_string(char_u *line, colnr_T col); pos_T *find_start_comment(int ind_maxcomment); int cindent_on(void); void parse_cino(buf_T *buf); int get_c_indent(void); int in_cinkeys(int keytyped, int when, int line_is_empty); void do_c_expr_indent(void); void f_cindent(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */