Always create a copy of the TextPointers in TextAdaptor.GetBoundingRectanges#2
Conversation
bgrainger
left a comment
There was a problem hiding this comment.
Is there any chance of getting this change accepted upstream? Getting patches into dotnet/wpf will let us eventually switch from a custom package to the in-the-box one, which could reduce long-term maintenance burden.
We would probably need to come up with a standalone repro for the crash, open an issue and a PR. |
…ctanges This method can modify the TextPointer so always make a copy instead of only when using the ITextView's TextSegment's TextPointers.
|
The build is probably failing because it was opened from a fork. If you pushed a branch to this repo, I'm guessing it would succeed. We don't need to do that to merge this, though. |
No description provided.