From 196d157f12cf0476d97f78834155fc67d6b161de Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 2 Jan 2019 23:47:18 +0100 Subject: 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. --- src/globals.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/globals.h') diff --git a/src/globals.h b/src/globals.h index d60968b82..2a7ecd17b 100644 --- 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. */ -- cgit v1.2.1