Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: line offset off by one when at the last line #683

Merged
merged 1 commit into from
Feb 11, 2023
Merged

Conversation

rchl
Copy link
Member

@rchl rchl commented Feb 11, 2023

This affected code that read document line (document.getLine()) and resulted in last character being missing when triggered for the last line.

The functionality that was using that functionality was folding ranges and completions.

@rchl rchl changed the title fix: line offset being off by one when at the last line fix: line offset off by one when at the last line Feb 11, 2023
@rchl rchl merged commit 0db9a5f into master Feb 11, 2023
@rchl rchl deleted the fix/offset branch February 11, 2023 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant