src/popupwin.c
int
popup_width(win_T *wp)
{
    // w_leftcol is how many columns of the core are left of the screen
    // w_popup_rightoff is how many columns of the core are right of the screen
    return wp->w_width + wp->w_leftcol
	    + popup_extra_width(wp)
	    + wp->w_popup_rightoff;
}
/*
 * Return the width of popup window "wp", including border, padding and
 * scrollbar.
 */
Return the width of popup window "wp", including border, padding and
scrollbar.
Return the width of popup window " wp " including border padding and scrollbar .
int
popup_width(win_T *wp)
{
    return wp->w_width + wp->w_leftcol
	    + popup_extra_width(wp)
	    + wp->w_popup_rightoff;
}
int popup_width ( win_T * wp ) { return wp -> w_width + wp -> w_leftcol + popup_extra_width ( wp ) + wp -> w_popup_rightoff ; }
Return the width of popup window "wp", including border, padding and
 scrollbar.
Return the width of popup window " wp " including border padding and scrollbar .
// w_leftcol is how many columns of the core are left of the screen // w_popup_rightoff is how many columns of the core are right of the screen