mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
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.
This commit is contained in:
@@ -15,7 +15,6 @@ struct ucell {
|
||||
};
|
||||
|
||||
struct ugrid {
|
||||
int top, bot, left, right;
|
||||
int row, col;
|
||||
int width, height;
|
||||
UCell **cells;
|
||||
|
Reference in New Issue
Block a user