Mercurial > vim
diff src/search.c @ 18763:49b78d6465e5 v8.1.2371
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Commit: https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 22:48:27 2019 +0100
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 https://github.com/vim/vim/issues/5291)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 23:00:05 +0100 |
parents | a13370d92f9d |
children | d34ec6fe207d |
line wrap: on
line diff
--- a/src/search.c +++ b/src/search.c @@ -2863,7 +2863,7 @@ findsent(int dir, long count) while (count--) { /* - * if on an empty line, skip upto a non-empty line + * if on an empty line, skip up to a non-empty line */ if (gchar_pos(&pos) == NUL) { @@ -5724,7 +5724,7 @@ search_line: redraw_later(VALID); win_enter(curwin_save, TRUE); } -# ifdef FEAT_TEXT_PROP +# ifdef FEAT_PROP_POPUP else if (WIN_IS_POPUP(curwin)) // can't keep focus in popup window win_enter(firstwin, TRUE);