This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix preceding boundary calculation for changes inside of folds
If a change is inside a fold and that fold appears at the beginning of a soft-wrapped line segment, we need to continue iterating upward in our search for a line boundary. Previously we would stop because the screen column was 0, but that is invalid if the beginning of the buffer row isn't on screen due to being folded. Signed-off-by: Antonio Scandurra <as-cii@github.com>
- Loading branch information
Nathan Sobo
authored and
Antonio Scandurra
committed
Feb 16, 2017
1 parent
2e9b8ad
commit cf55378
Showing
2 changed files
with
20 additions
and
8 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