Mercurial > vim
comparison src/insexpand.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 | bbea1f108187 |
children | 410155e75efa |
comparison
equal
deleted
inserted
replaced
18762:19582783e5ad | 18763:49b78d6465e5 |
---|---|
1809 // Ignore end of Select mode mapping and mouse scroll buttons. | 1809 // Ignore end of Select mode mapping and mouse scroll buttons. |
1810 if (c == K_SELECT || c == K_MOUSEDOWN || c == K_MOUSEUP | 1810 if (c == K_SELECT || c == K_MOUSEDOWN || c == K_MOUSEUP |
1811 || c == K_MOUSELEFT || c == K_MOUSERIGHT) | 1811 || c == K_MOUSELEFT || c == K_MOUSERIGHT) |
1812 return retval; | 1812 return retval; |
1813 | 1813 |
1814 #ifdef FEAT_TEXT_PROP | 1814 #ifdef FEAT_PROP_POPUP |
1815 // Ignore mouse events in a popup window | 1815 // Ignore mouse events in a popup window |
1816 if (is_mouse_key(c)) | 1816 if (is_mouse_key(c)) |
1817 { | 1817 { |
1818 // Ignore drag and release events, the position does not need to be in | 1818 // Ignore drag and release events, the position does not need to be in |
1819 // the popup and it may have just closed. | 1819 // the popup and it may have just closed. |