patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
diff --git a/src/gui.c b/src/gui.c
index 5f86cc9..3e5eff5 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -4898,7 +4898,7 @@
// apply 'mousefocus' and pointer shape
gui_mouse_focus(x, y);
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
if (popup_visible)
// Generate a mouse-moved event, so that the popup can perhaps be
// closed, just like in the terminal.
@@ -5152,7 +5152,7 @@
/* Trigger CursorMoved if the cursor moved. */
if (!finish_op && (has_cursormoved()
-# ifdef FEAT_TEXT_PROP
+# ifdef FEAT_PROP_POPUP
|| popup_visible
# endif
# ifdef FEAT_CONCEAL
@@ -5162,7 +5162,7 @@
{
if (has_cursormoved())
apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
if (popup_visible)
popup_check_cursor_pos();
#endif