-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: take into count of multi-width characters on offset of highlight…
…s and jump (#125) * feat: take into count of multi-width characters on offset of highlights and jump * fix: wrong jump position on operator pending mode This also let offset_pos() receive and return (1,0)-indexed position. Formerly it received (1,0)-based index and returned (0,0)-based index * refactor: simplify util.offset_pos * refactor: let offset_pos use (1,0)-indexed positions with internal variables to be consistent with parameter and return values
- Loading branch information
Showing
3 changed files
with
22 additions
and
4 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
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