From d4153d4a62172ecb451020e9b90b3fe5b0e7e8be Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 15 Nov 2008 15:06:17 +0000 Subject: updated for version 7.2-042 --- src/structs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/structs.h') diff --git a/src/structs.h b/src/structs.h index 1ecdddbc1..329676e59 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1784,10 +1784,15 @@ struct window_S #endif /* - * The next three specify the offsets for displaying the buffer: + * "w_topline", "w_leftcol" and "w_skipcol" specify the offsets for + * displaying the buffer. */ linenr_T w_topline; /* buffer line number of the line at the top of the window */ +#ifdef FEAT_AUTOCMD + char w_topline_was_set; /* flag set to TRUE when topline is set, + e.g. by winrestview() */ +#endif #ifdef FEAT_DIFF int w_topfill; /* number of filler lines above w_topline */ int w_old_topfill; /* w_topfill at last redraw */ -- cgit v1.2.1