patch 8.1.1453: popup window "moved" property not implemented yet
Problem: Popup window "moved" property not implemented yet.
Solution: Implement it.
diff --git a/src/main.c b/src/main.c
index e1ddbf7..e9165c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1159,6 +1159,9 @@
/* Trigger CursorMoved if the cursor moved. */
if (!finish_op && (
has_cursormoved()
+#ifdef FEAT_TEXT_PROP
+ || popup_visible
+#endif
#ifdef FEAT_CONCEAL
|| curwin->w_p_cole > 0
#endif
@@ -1168,14 +1171,18 @@
if (has_cursormoved())
apply_autocmds(EVENT_CURSORMOVED, NULL, NULL,
FALSE, curbuf);
-# ifdef FEAT_CONCEAL
+#ifdef FEAT_TEXT_PROP
+ if (popup_visible)
+ popup_check_cursor_pos();
+#endif
+#ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0)
{
conceal_old_cursor_line = last_cursormoved.lnum;
conceal_new_cursor_line = curwin->w_cursor.lnum;
conceal_update_lines = TRUE;
}
-# endif
+#endif
last_cursormoved = curwin->w_cursor;
}