From edb26f2c65123a69e4ee0e2996f9962b70f9e7d7 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Wed, 26 Sep 2018 13:06:20 +0200 Subject: 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. --- src/nvim/ugrid.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nvim/ugrid.h') 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; -- cgit