Mercurial > vim
diff src/globals.h @ 15349:6abee072b93c v8.1.0682
patch 8.1.0682: text properties not adjusted when backspacing replaced text
commit https://github.com/vim/vim/commit/196d157f12cf0476d97f78834155fc67d6b161de
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 2 23:47:18 2019 +0100
patch 8.1.0682: text properties not adjusted when backspacing replaced text
Problem: Text properties are not adjusted when backspacing replaced text.
Solution: Keep text properties on text restored in replace mode.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 03 Jan 2019 00:00:54 +0100 |
parents | 186eebc31ec0 |
children | 6012cc6936f7 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -1658,6 +1658,10 @@ EXTERN int *eval_lavars_used INIT(= NULL EXTERN int ctrl_break_was_pressed INIT(= FALSE); #endif +#ifdef FEAT_TEXT_PROP +EXTERN int text_prop_frozen INIT(= 0); +#endif + /* * Optional Farsi support. Include it here, so EXTERN and INIT are defined. */