0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-11-30 22:48:27 +01:00
parent 0c5c3faef2
commit 05ad5ff0ab
47 changed files with 190 additions and 178 deletions

View File

@@ -1283,7 +1283,7 @@ main_loop(
/* 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
@@ -1295,7 +1295,7 @@ main_loop(
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