mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 8.0.0090
Problem: Test_help_complete sometimes fails in MS-Windows console. Solution: Use getcompletion() instead of feedkeys() and command line completion. (Hirohito Higashi)
This commit is contained in:
@@ -3010,7 +3010,8 @@ win_line(
|
||||
#endif
|
||||
colnr_T trailcol = MAXCOL; /* start of trailing spaces */
|
||||
#ifdef FEAT_LINEBREAK
|
||||
int need_showbreak = FALSE;
|
||||
int need_showbreak = FALSE; /* overlong line, skipping first x
|
||||
chars */
|
||||
#endif
|
||||
#if defined(FEAT_SIGNS) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \
|
||||
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
|
||||
@@ -3793,13 +3794,15 @@ win_line(
|
||||
if (draw_state == WL_BRI - 1 && n_extra == 0)
|
||||
{
|
||||
draw_state = WL_BRI;
|
||||
if (wp->w_p_bri && n_extra == 0 && row != startrow
|
||||
/* if need_showbreak is set, breakindent also applies */
|
||||
if (wp->w_p_bri && n_extra == 0
|
||||
&& (row != startrow || need_showbreak)
|
||||
# ifdef FEAT_DIFF
|
||||
&& filler_lines == 0
|
||||
# endif
|
||||
)
|
||||
{
|
||||
char_attr = 0; /* was: hl_attr(HLF_AT); */
|
||||
char_attr = 0;
|
||||
# ifdef FEAT_DIFF
|
||||
if (diff_hlf != (hlf_T)0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user