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: use DisplayMarker in Editor #654

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

fix: use DisplayMarker in Editor #654

wants to merge 4 commits into from

Conversation

aminya
Copy link
Collaborator

@aminya aminya commented Jun 25, 2021

This replaces the usage of textBuffer.markRange with textEditor.markBufferRange. This was one of the things that TypeScript was bugging about for a long time.

I verified that the message.location.position remains the same:

After:
image

Before:
image

@aminya aminya force-pushed the use-displaymarker branch from e7a8f5d to 195f23d Compare June 25, 2021 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant