Mercurial > vim
comparison src/vim.h @ 17429:6e756ad5ef1a v8.1.1713
patch 8.1.1713: highlighting cursor line only works with popup_menu()
commit https://github.com/vim/vim/commit/df9c6cad8cc318e26e99c3b055f0788e7d6582de
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 18 13:46:42 2019 +0200
patch 8.1.1713: highlighting cursor line only works with popup_menu()
Problem: Highlighting cursor line only works with popup_menu().
Solution: Add the "cursorline" property. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/4671)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 18 Jul 2019 14:00:08 +0200 |
parents | 09fa437d33d8 |
children | 8cca2654d459 |
comparison
equal
deleted
inserted
replaced
17428:30036b80e5ca | 17429:6e756ad5ef1a |
---|---|
615 | 615 |
616 // Values for w_popup_flags. | 616 // Values for w_popup_flags. |
617 #define POPF_IS_POPUP 1 // this is a popup window | 617 #define POPF_IS_POPUP 1 // this is a popup window |
618 #define POPF_HIDDEN 2 // popup is not displayed | 618 #define POPF_HIDDEN 2 // popup is not displayed |
619 #define POPF_HANDLED 4 // popup was just redrawn or filtered | 619 #define POPF_HANDLED 4 // popup was just redrawn or filtered |
620 #define POPF_CURSORLINE 8 // popup is highlighting at the cursorline | |
620 #ifdef FEAT_TEXT_PROP | 621 #ifdef FEAT_TEXT_PROP |
621 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) | 622 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) |
622 #else | 623 #else |
623 # define WIN_IS_POPUP(wp) 0 | 624 # define WIN_IS_POPUP(wp) 0 |
624 #endif | 625 #endif |