forked from bbatsov/prelude
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(1) It doesn't work to scroll a window by small amounts if there are virtual removed lines at the top of the window. So if we try and fail to scroll a given vdiff window, switch to the other window and try the scrolling there. (2) vdiff's synchronized scrolling doesn't work when you try to do mouse scrolling of one window when the other window is active. So force mouse scrolling to only work on the active window in vdiff mode. (See also justbur/emacs-vdiff#29.) This is especially important to make mouse scrolling usable given that we're doing (1), since which window is active can now change frequently while scrolling.
- Loading branch information
Showing
2 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters