comparison src/structs.h @ 15713:ad8b2c109b22 v8.1.0864

patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff' commit https://github.com/vim/vim/commit/375e3390078e740d3c83b0c118c50d9a920036c7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 31 18:26:10 2019 +0100 patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff' Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'. (Gary Holloway) Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by Aron Widforss, closes #3539)
author Bram Moolenaar <Bram@vim.org>
date Thu, 31 Jan 2019 18:30:08 +0100
parents 287104a1d51e
children a3e2e7948ee4
comparison
equal deleted inserted replaced
15712:bc1989f9bd37 15713:ad8b2c109b22
2930 #ifdef FEAT_LINEBREAK 2930 #ifdef FEAT_LINEBREAK
2931 int w_p_brimin; /* minimum width for breakindent */ 2931 int w_p_brimin; /* minimum width for breakindent */
2932 int w_p_brishift; /* additional shift for breakindent */ 2932 int w_p_brishift; /* additional shift for breakindent */
2933 int w_p_brisbr; /* sbr in 'briopt' */ 2933 int w_p_brisbr; /* sbr in 'briopt' */
2934 #endif 2934 #endif
2935 long w_p_siso; /* 'sidescrolloff' local value */
2936 long w_p_so; /* 'scrolloff' local value */
2935 2937
2936 /* transform a pointer to a "onebuf" option into a "allbuf" option */ 2938 /* transform a pointer to a "onebuf" option into a "allbuf" option */
2937 #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T)) 2939 #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T))
2938 2940
2939 long w_scbind_pos; 2941 long w_scbind_pos;