forked from yi-editor/yi
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the gap calculation algorithm to be more efficient.
We no only calculate the single line gap in the case of SingleLine style useage. The previous code had some errors in the case statement. This version makes more sense and seems more readable to me.
- Loading branch information
jwall@google.com
committed
Oct 12, 2010
1 parent
6bc1138
commit bca1ead
Showing
1 changed file
with
7 additions
and
7 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