diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-13 06:56:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 06:56:19 +0800 |
commit | 94085cfce82153e79eba5a1d277fe5799d973ffd (patch) | |
tree | 775accb8ba91548b213d1d16910aa7bd8e79d0b1 /test/functional/ui/diff_spec.lua | |
parent | 984f7a9fd3d4ad4c6b51fa5c54c3550756056723 (diff) | |
download | rneovim-94085cfce82153e79eba5a1d277fe5799d973ffd.tar.gz rneovim-94085cfce82153e79eba5a1d277fe5799d973ffd.tar.bz2 rneovim-94085cfce82153e79eba5a1d277fe5799d973ffd.zip |
perf(redraw): reduce redraw with undo and extmarks or 'spell' (#27442)
vim-patch:9.1.0100: Redrawing can be improved with undo and 'spell'
Problem: When undoing with 'spell', redrawWinline() is called after
changed_lines(), while later win_update() sets redraw type to
UPD_NOT_VALID, even though w_redraw_top and w_redraw_bot are
still valid.
Solution: Only set redraw type to UPD_NOT_VALID when inserting/deleting
lines after parts of window has pending redraw, i.e., when
changed_lines() is called after redrawWinline().
(zeertzjq)
closes: vim/vim#14019
https://github.com/vim/vim/commit/f2d90a351159fd6843f450850f52004f42e00183
Diffstat (limited to 'test/functional/ui/diff_spec.lua')
0 files changed, 0 insertions, 0 deletions