Patch 8.2.4094
Problem: 'virtualedit' is window-local but using buffer-local enum.
Solution: Use window-local enum. (closes #9529)
Files: src/option.h, src/optiondefs.h
*** ../vim-8.2.4093/src/option.h 2022-01-08 12:41:12.208795550 +0000
--- src/option.h 2022-01-15 10:44:57.969432584 +0000
***************
*** 1235,1241 ****
, BV_VSTS
, BV_VTS
#endif
- , BV_VE
, BV_COUNT // must be the last one
};
--- 1235,1240 ----
***************
*** 1287,1292 ****
--- 1286,1292 ----
#endif
, WV_NU
, WV_RNU
+ , WV_VE
#ifdef FEAT_LINEBREAK
, WV_NUW
#endif
*** ../vim-8.2.4093/src/optiondefs.h 2021-12-21 09:11:45.625393271 +0000
--- src/optiondefs.h 2022-01-15 10:44:57.969432584 +0000
***************
*** 156,162 ****
# define PV_VSTS OPT_BUF(BV_VSTS)
# define PV_VTS OPT_BUF(BV_VTS)
#endif
- #define PV_VE OPT_BOTH(OPT_BUF(BV_VE))
// Definition of the PV_ values for window-local options.
// The WV_ values are defined in option.h.
--- 156,161 ----
***************
*** 192,197 ****
--- 191,197 ----
#define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS))
#define PV_NU OPT_WIN(WV_NU)
#define PV_RNU OPT_WIN(WV_RNU)
+ #define PV_VE OPT_BOTH(OPT_WIN(WV_VE))
#ifdef FEAT_LINEBREAK
# define PV_NUW OPT_WIN(WV_NUW)
#endif
*** ../vim-8.2.4093/src/version.c 2022-01-15 10:00:59.576603900 +0000
--- src/version.c 2022-01-15 10:51:21.724939611 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4094,
/**/
--
A vacation is a period of travel during which you find that you
took twice as many clothes and half as much money as you needed.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///