neovim/test/functional/ui
zeertzjq e6d35b9e40 fix(pum_redraw): use grid_puts_len() to truncate the text
Nvim already resizes grid to the required width, so there is no need to
truncate the text in pum_redraw(). What's more, truncation is currently
done incorrectly because Vim patch 8.2.1995 was ported incorrectly.

This nearly reverts the truncation part of Vim patch 8.2.1995, but not
the part that reduces unnecessary calls to pum_redraw(). The original PR
https://github.com/vim/vim/pull/7306 didn't explain much about which
part of it actually reduces redraws.
2021-12-24 08:06:27 +08:00
..
bufhl_spec.lua refactor(decorations): merge the two different code paths for virt_text 2021-07-29 20:34:42 +02:00
cmdline_highlight_spec.lua API: deprecate nvim_command_output 2019-12-02 20:52:06 -08:00
cmdline_spec.lua fixup! fix(highlight): remove syncolor.vim 2021-07-28 09:11:07 -06:00
cursor_spec.lua vim-patch:8.2.3664: cannot adjust sign highlighting for 'cursorline' 2021-12-08 21:47:58 -05:00
decorations_spec.lua fix(screen): do not draw filler lines post eof if already at last row 2021-12-07 23:19:56 +08:00
diff_spec.lua fix(screen): do not draw filler lines post eof if already at last row 2021-12-07 23:19:56 +08:00
embed_spec.lua tests: fix non-controversial misuse of pending (#11247) 2019-10-18 04:46:30 +02:00
float_spec.lua fix(float): skip non-focusable windows for :windo (#15378) 2021-11-11 11:05:18 -07:00
fold_spec.lua test(fold): add test for CursorLineFold 2021-12-08 21:47:59 -05:00
highlight_spec.lua fix(highlight): always update window highlight if highlight changed 2021-12-07 20:48:39 +08:00
hlstate_spec.lua terminal: add tests for palette color forwarding 2019-11-03 10:14:58 +01:00
inccommand_spec.lua fix(inccommand): ignore trailing commands only for *previewed* command #15638 2021-09-20 07:33:10 -07:00
input_spec.lua state: throttle batched event processing when input is available 2021-03-08 16:08:58 +01:00
messages_spec.lua feat(lua): enable stack traces in error output (#16228) 2021-11-06 08:26:10 -06:00
mode_spec.lua Fix two more flaky tests (#11095) 2019-09-26 07:37:51 +02:00
mouse_spec.lua fix(mouse): correct dragged position in composed layout 2021-10-04 21:00:42 +02:00
multibyte_spec.lua vim-patch:8.2.0235: draw error when an empty group is removed from 'statusline' 2020-02-09 09:42:26 +01:00
multigrid_spec.lua feat(api): win_viewport also sends line_count #15613 2021-09-10 19:19:39 -07:00
options_spec.lua UI: forward 'mousefocus' option #12863 2020-09-06 11:40:07 -07:00
output_spec.lua refactor(tests): use assert_alive() #15546 2021-09-01 09:42:53 -07:00
popupmenu_spec.lua fix(pum_redraw): use grid_puts_len() to truncate the text 2021-12-24 08:06:27 +08:00
quickfix_spec.lua functests: Fix some ui/*_spec tests 2017-04-09 03:24:26 +03:00
screen_basic_spec.lua screen: setup scrolling main screen when starting with display-=msgsep 2021-03-23 09:34:36 +01:00
screen.lua feat(api): win_viewport also sends line_count #15613 2021-09-10 19:19:39 -07:00
searchhl_spec.lua vim-patch:8.2.0295: highlighting for :s wrong when using different separator (#14286) 2021-04-04 14:43:22 -04:00
sign_spec.lua test(sign): add test for culhl option 2021-12-08 21:47:59 -05:00
spell_spec.lua vim-patch:8.1.1838: there is :spellwrong and :spellgood but not :spellrare 2021-06-12 13:06:48 -04:00
syntax_conceal_spec.lua fix(screen): missing search highlights when redrawing from timer #15380 2021-09-06 15:18:33 -07:00
tabline_spec.lua test: update tests to work with 'hidden' 2021-08-18 12:17:12 -06:00
wildmode_spec.lua Merge pull request #13428 from janlazo/nvim-8.0.1525 2020-12-01 19:02:38 -05:00