diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-09-26 13:06:20 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-09-27 08:50:48 +0200 |
commit | edb26f2c65123a69e4ee0e2996f9962b70f9e7d7 (patch) | |
tree | 84a5b29b1bf03880a25cc6825c0d6adc8c2b3d18 /src/nvim/ugrid.h | |
parent | 1b8939d23321f5c7a818a5ba2125793797031835 (diff) | |
download | rneovim-edb26f2c65123a69e4ee0e2996f9962b70f9e7d7.tar.gz rneovim-edb26f2c65123a69e4ee0e2996f9962b70f9e7d7.tar.bz2 rneovim-edb26f2c65123a69e4ee0e2996f9962b70f9e7d7.zip |
tui: eliminate scrolling region data structure
The scrolling region is always local to a single grid_scroll event, use
local variables and parameters instead.
The invocation of reset_scroll_region in grid_resize is cargo-culted to use
margin reset under exactly the same circumstances, not sure if it is necessary
though.
Diffstat (limited to 'src/nvim/ugrid.h')
-rw-r--r-- | src/nvim/ugrid.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/ugrid.h b/src/nvim/ugrid.h index 0751010d6b..af78fe91c5 100644 --- a/src/nvim/ugrid.h +++ b/src/nvim/ugrid.h @@ -15,7 +15,6 @@ struct ucell { }; struct ugrid { - int top, bot, left, right; int row, col; int width, height; UCell **cells; |