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 #130527 #146710

Merged
merged 2 commits into from
May 6, 2022
Merged

fix #130527 #146710

merged 2 commits into from
May 6, 2022

Conversation

weartist
Copy link
Contributor

@weartist weartist commented Apr 4, 2022

fix #130527, 'findTokenIndexAtOffset' parameter is calculated from 0, but we use the range parameter is calculated from 1

This PR fixes #130527

'findTokenIndexAtOffset' parameter is calculated from 0, but we use the range parameter is calculated from 1

fix #130527, 'findTokenIndexAtOffset' parameter is calculated from 0, but we use the range parameter is calculated from 1
@jrieken
Copy link
Member

jrieken commented Apr 5, 2022

This looks like a good find/fix but I doubt that it fixes the original issue of not previewing enough, right?

@weartist
Copy link
Contributor Author

weartist commented Apr 5, 2022

yes, that can fix the problem

@weartist
Copy link
Contributor Author

weartist commented May 4, 2022

@jrieken hi~, is it possible to merge this PR into it?

@jrieken jrieken added this to the May 2022 milestone May 6, 2022
@jrieken
Copy link
Member

jrieken commented May 6, 2022

I took me a while to understand (my own code) how this fixes the problem... Thanks for the contribution

@jrieken jrieken enabled auto-merge May 6, 2022 12:24
@jrieken jrieken merged commit edcad0b into microsoft:main May 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Truncation in Refactor Preview panel
3 participants