Skip to content

fix #130527#146710

Merged
jrieken merged 2 commits intomicrosoft:mainfrom
Kalmaegi:main
May 6, 2022
Merged

fix #130527#146710
jrieken merged 2 commits intomicrosoft:mainfrom
Kalmaegi:main

Conversation

@Kalmaegi
Copy link
Copy Markdown
Contributor

@Kalmaegi Kalmaegi 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
Copy Markdown
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?

@Kalmaegi
Copy link
Copy Markdown
Contributor Author

Kalmaegi commented Apr 5, 2022

yes, that can fix the problem

@Kalmaegi
Copy link
Copy Markdown
Contributor Author

Kalmaegi 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
Copy Markdown
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