aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-11-11 10:53:23 +0100
committerGitHub <noreply@github.com>2018-11-11 10:53:23 +0100
commitc936ae0f3688d1cf159506d2d9ba3f9be41298a2 (patch)
tree572d3523521c08bb8b0872968a8d31897f1e3623 /runtime
parentf8639dc99cb085432b14da086af316176152bc1f (diff)
parenteb3b73d472798c0b9ff2bde8e0313890b6c42a2e (diff)
downloadrneovim-c936ae0f3688d1cf159506d2d9ba3f9be41298a2.tar.gz
rneovim-c936ae0f3688d1cf159506d2d9ba3f9be41298a2.tar.bz2
rneovim-c936ae0f3688d1cf159506d2d9ba3f9be41298a2.zip
Merge pull request #9193 from bfredl/scrollstuff
UI/TUI: improvements and cleanups for scrolling and clearing
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/ui.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index 3477e53545..c021f236c8 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -325,14 +325,14 @@ numerical highlight `id`:s to the actual attributes.
+-------------------------+ src_top |
| src (moved up) and dst | |
|-------------------------| dst_bot |
- | src (cleared) | |
+ | src (invalid) | |
+=========================+ src_bot
<
If `rows` is less than zero, move a rectangle in the SR down, this can
happen while scrolling up.
>
+=========================+ src_top
- | src (cleared) | |
+ | src (invalid) | |
|------------------------ | dst_top |
| src (moved down) and dst| |
+-------------------------+ src_bot |
@@ -348,6 +348,10 @@ numerical highlight `id`:s to the actual attributes.
end-exclusive, which is consistent with API conventions, but different
from `set_scroll_region` which was end-inclusive.
+ The scrolled-in area will be filled using |ui-event-grid_line| directly
+ after the scroll event. The UI thus doesn't need to clear this area as
+ part of handling the scroll event.
+
==============================================================================
Legacy Grid Events (cell based) *ui-grid-old*