forked from XVimProject/XVim
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Shift-O on the last line of the file
This fixes an issue where, when the start of the line is the last character of the file, there an off by 1 error that would cause shift-o not to work. `characterAtIndex` expects and index within the bounds of this string, the passed character index was previously the length of the string. This fixes XVimProject#675
- Loading branch information
1 parent
f5a959c
commit 5dc1ba2
Showing
2 changed files
with
2 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