vteaccess-gtk4: Optimize scrolling case
As was reported for gtk3 (and fixed in gtk3 since then) in #88 (closed) as: “when you open a large file using cat file.txt |less and press enter to go down in the file, orca almost always pronounces the first 2 letters of the line before reading the whole line.”
And indeed, running a mere less foo.txt
where foo.txt
is a long file, when pressing enter (or downarrow) to move to the next line, the vteaccess-gtk4 implementation does not find the common part, and thus deletes/inserts the whole screen, while the (gtk3) vteaccess implementation does find the common part, and thus deletes only the first line and inserts the but-last line.