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

Invoke GetHighlights on subject buffer #62

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

KirillOsenkov
Copy link
Contributor

This shows the general approach, however more work is needed when caret moves or text changes, to find the right snapshot of content type xml, and use that, instead of using the top buffer snapshot.

@mhutch
Copy link
Owner

mhutch commented Jun 20, 2023

I'll defer to you on this one TBH, I'm still not familiar with how things work when there are multiple buffers :) Just LMK if it's ready to merge.

@KirillOsenkov KirillOsenkov marked this pull request as ready for review October 9, 2023 01:30
@KirillOsenkov
Copy link
Contributor Author

I've rebased on latest. I've been dogfooding this change and it does fix the exception I've been seeing in diff view.

Let's merge this and I can send additional PRs later as we go.

@KirillOsenkov
Copy link
Contributor Author

KirillOsenkov commented Oct 9, 2023

Happy to walk you through projection buffers whenever you want. Mostly relevant for diff (viewing or editing pending changes in a .csproj file).

@mhutch mhutch merged commit 2610eb0 into mhutch:main Oct 10, 2023
2 checks passed
@KirillOsenkov KirillOsenkov deleted the dev/kirillo/hrProjection branch October 11, 2023 03:11
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.

2 participants