Home
last modified time | relevance | path

Searched refs:maxwidth (Results 1 – 8 of 8) sorted by relevance

/vim-8.2.3635/src/
H A Dpopupwin.c1120 int maxwidth; in popup_adjust_position() local
1263 maxwidth = maxspace; in popup_adjust_position()
1267 maxwidth = wp->w_maxwidth; in popup_adjust_position()
1280 margin_width = maxwidth - 1; in popup_adjust_position()
1326 if (wp->w_width < maxwidth) in popup_adjust_position()
1327 wp->w_width = maxwidth; in popup_adjust_position()
1338 wp->w_width = maxwidth; in popup_adjust_position()
1359 maxwidth += shift_by; in popup_adjust_position()
1360 wp->w_width = maxwidth; in popup_adjust_position()
1414 if (wp->w_width > maxwidth) in popup_adjust_position()
[all …]
H A Dbuffer.c4098 int maxwidth, in build_stl_str_hl() argument
4899 if (maxwidth > 0 && width > maxwidth) in build_stl_str_hl()
4932 if (width >= maxwidth) in build_stl_str_hl()
4937 while (++width < maxwidth) in build_stl_str_hl()
4941 s = out + maxwidth - 1; in build_stl_str_hl()
4954 while (width >= maxwidth) in build_stl_str_hl()
4961 n = width - maxwidth + 1; in build_stl_str_hl()
4967 while (++width < maxwidth) in build_stl_str_hl()
4983 width = maxwidth; in build_stl_str_hl()
4985 else if (width < maxwidth && STRLEN(out) + maxwidth - width + 1 < outlen) in build_stl_str_hl()
[all …]
H A Dscreen.c1225 int maxwidth; in win_redr_custom() local
1254 maxwidth = Columns; in win_redr_custom()
1263 maxwidth = wp->w_width; in win_redr_custom()
1282 maxwidth = wp->w_width - col; in win_redr_custom()
1286 --maxwidth; // writing in last column may cause scrolling in win_redr_custom()
1310 if (maxwidth <= 0) in win_redr_custom()
1324 fillchar, maxwidth, &hltab, &tabtab); in win_redr_custom()
1338 while (width < maxwidth && len < (int)sizeof(buf) - 1) in win_redr_custom()
/vim-8.2.3635/src/testdir/
H A Dtest_popupwin.vim1097 \ maxwidth: 12})
1278 \ #{line: 2, col: 3, maxwidth: 12})
1295 \ maxwidth: 20,
1307 call assert_equal(20, res.maxwidth)
1324 call assert_equal(0, res.maxwidth)
1633 \ maxwidth: 20,
2232 \ maxwidth: 30,
2358 \ maxwidth: 10,
2582 \ maxwidth: 12,
2813 \ maxwidth: 40,
[all …]
/vim-8.2.3635/src/proto/
H A Dbuffer.pro51 …_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, stl_hlrec_T **hl…
/vim-8.2.3635/runtime/doc/
H A Dpopup.txt78 buffer. It can be limited with the "maxwidth" property. You can use spaces
161 text. Set "maxheight" and "maxwidth" to restrict the size.
487 maxwidth
656 maxwidth Maximum width of the contents, excluding border,
H A Dtodo.txt119 - Width is not computed correctly when minwidth and maxwidth are &columns
H A Dversion8.txt36343 Problem: "maxwidth" of popup window does not always work properly.
40007 Solution: Also adjust maxwidth when applying minwidth and there is a
48719 Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)