-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return correct byte offset from IndexIn
According to the [LSP Spec](https://microsoft.github.io/language-server-protocol/specification#textDocuments) Character Offsets are based on UTF-16 string representations. The current IndexIn assumes the Character is a byte offset leading to incorrect state in the Language Server.
- Loading branch information
Shezad Khan
committed
Aug 18, 2021
1 parent
98d1a22
commit 69f9b44
Showing
1 changed file
with
49 additions
and
1 deletion.
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