Mercurial > vim
diff src/proto/misc2.pro @ 15292:ba6f0f1bb9d0 v8.1.0654
patch 8.1.0654: when deleting a line text property flags are not adjusted
commit https://github.com/vim/vim/commit/c1a9bc1a7284bd0e60f9bddfef6a4ee733bfc838
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 28 21:59:29 2018 +0100
patch 8.1.0654: when deleting a line text property flags are not adjusted
Problem: When deleting a line text property flags are not adjusted.
Solution: Adjust text property flags in preceding and following lines.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Dec 2018 22:00:05 +0100 |
parents | 3a99b2e6d136 |
children | eae582bfb293 |
line wrap: on
line diff
--- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -24,7 +24,7 @@ int alloc_does_fail(long_u size); char_u *alloc(unsigned size); char_u *alloc_id(unsigned size, alloc_id_T id); char_u *alloc_clear(unsigned size); -char_u * alloc_clear_id(unsigned size, alloc_id_T id); +char_u *alloc_clear_id(unsigned size, alloc_id_T id); char_u *alloc_check(unsigned size); char_u *lalloc_clear(long_u size, int message); char_u *lalloc(long_u size, int message); @@ -34,6 +34,7 @@ void do_outofmem_msg(long_u size); void free_all_mem(void); char_u *vim_strsave(char_u *string); char_u *vim_strnsave(char_u *string, int len); +char_u *vim_memsave(char_u *p, int len); char_u *vim_strsave_escaped(char_u *string, char_u *esc_chars); char_u *vim_strsave_escaped_ext(char_u *string, char_u *esc_chars, int cc, int bsl); int csh_like_shell(void);