summaryrefslogtreecommitdiff
path: root/src/change.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-30 22:48:27 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-30 22:48:27 +0100
commit05ad5ff0ab34ed9a5296dedd420ca81698b8ce22 (patch)
tree7354d352e37ab28988ce26e4f88efd9a9b9f71ec /src/change.c
parent0c5c3faef2d54151a8c144539e3e5a3350fb18c7 (diff)
downloadvim-git-05ad5ff0ab34ed9a5296dedd420ca81698b8ce22.tar.gz
patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
Diffstat (limited to 'src/change.c')
-rw-r--r--src/change.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/change.c b/src/change.c
index d0462dbe1..f2dfc9371 100644
--- a/src/change.c
+++ b/src/change.c
@@ -698,7 +698,7 @@ changed_bytes(linenr_T lnum, colnr_T col)
static void
inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED)
{
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
if (curbuf->b_has_textprop && added != 0)
adjust_prop_columns(lnum, col, added, 0);
#endif
@@ -1289,7 +1289,7 @@ del_bytes(
mch_memmove(newp + col, oldp + col + count, (size_t)movelen);
if (alloc_newp)
ml_replace(lnum, newp, FALSE);
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
else
{
// Also move any following text properties.
@@ -2075,7 +2075,7 @@ open_line(
)
mark_adjust(curwin->w_cursor.lnum + 1, (linenr_T)MAXLNUM, 1L, 0L);
did_append = TRUE;
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
if ((State & INSERT) && !(State & VREPLACE_FLAG))
// properties after the split move to the next line
adjust_props_for_split(curwin->w_cursor.lnum, curwin->w_cursor.lnum,