I am seeing some odd behaviour trying to select a word in the UltraFormattedTextEditor. I can find the start and the length of the word using PerformAction(..WordLeft) and then walk to the first space. But when the space is part of multiple spaces represented with &edsp; I cannot then set the Selection Start. When the selection is badly set, using ApplyStyle then hangs the application.
I've attached a small sample that demonstrates the odd behaviour.
Thanks,
Wendy
Hello Boris,
I've upgraded to version 12.1 and that has resolved the errors.
thanks,
Hello Wendy,
Did you try the latest service release available? Did it fix the issue? Please let me know because I am still not able to reproduce it, even though I am definitely seeing something in the provided video by you.
Hi Wendy,
I ran your sample and I am also unable to reproduce the issues I can see in the video.
My guess is that this is a bug in the version of NetAdvantage you are using. There have been quite a number of bugs in recent years involving the use of multiple consecutive spaces that have been fixed.
How to get the latest service release - Infragistics Community
Attached video of behaviour with my setup.
The errors that are occurring are somewhat random. There are many sequences of actions that work and a few sequences of actions that don't. I can no longer find the sequence that clears all remaining text, but I expect it's related to the other failures. I have tried to explain the steps to reproduce the failure more clearly. Unfortunately, I do not have a video tool. It is certainly very helpful.
Please see the revised sample attached.
Thanks