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 -- b...@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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220115105301.DCA8B1C03C8%40moolenaar.net.

Reply via email to