-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/text changed event args changed range sample #7
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
base: master
Are you sure you want to change the base?
Fix/text changed event args changed range sample #7
Conversation
…angedRange-Sample
|
@codingdave Thanks so much, I will be doing some testing and if all goes well, I should have this merged relatively soon! |
|
@codingdave I see you have updated Start to SetStartAndEnd all over the place. Have you just done that everywhere Start was accessed or have you only replaced the calls the had to be replaced to resolve the issue? |
|
honestly, this code is 5 years ago. I hardly remember all the details. But you can check the original MR which has a very good description of my observation, the bugs, and the steps to getting them fixed - so please have another look. As I can read I worked the problem systematically: That fixed the properties Start (and End). By differentiating between Start, SetStartAndEnd, and End calls I was able to fix the ChangedRange, as you can see in the samples attached. |
|
Here is an AI analysis of the code change, please take some of the potential issues into consideration, we definitely want to fix the potential for unbounded memory consumption. What Changed
Potential Issues & Review1. Thread Safety
2. Key Uniqueness and Font Identification
3. Memory Usage
4. Measurement Accuracy
5. Unicode Characters / Surrogates
6. Font Disposal
7. Performance
Summary
Actionable Recommendations
|
|
Looking at the code it seems for me to be a big hallucination. I do not see any new class for caching (CharSizeCache) nor did the ai understand the pull request at all. |
|
That may have actually been for a different pull request, and I just pasted it into the wrong Chrome tab. My apologies there, I will get that cleaned up and try to get a new review completed as soon as I am able. |
See PavelTorgashov#215