robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
aa1d8a2702
master
1#pragma once 2 3#include <stdbool.h> 4 5#include "nvim/pos_defs.h" 6 7/// A window's viewport (scroll position and curswant, not the cursor). Reported by winsaveview(). 8/// Used for save/restore before temporary work ('incsearch', 'inccommand', multicursor replay). 9typedef struct { 10colnr_T vs_curswant ; 11bool vs_set_curswant ;///< `w_set_curswant`: `vs_curswant` is stale, derive it from the cursor. 12colnr_T vs_leftcol ; 13colnr_T vs_skipcol ; 14linenr_T vs_topline ; 15int vs_topfill ; 16linenr_T vs_botline ; 17int vs_empty_rows ; 18}viewstate_T ;