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 Wendy,
I tested your sample with version 10.3.1000 of our Net Advantage controls and I might be missing something because I do not see any messages or crashes of the application.
Please take a look at the attached video and let me know if I am missing something.
Hello Boris,
Thanks for the video. Would you please try the same sequence of actions in the last line of text at the bottom of the editor rather than the text in the instructions at the top. The error appears to be related to having multiple spaces in the line. The top lines of text do not have muliptle spaces and work correctly.
I am still not sure what the issue is here. Please take a look at what I tested(from what I understood).
I am using CamStudio and then archiving the video file with 7zip. Please provide a video of the steps if mine are wrong.
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
Attached video of behaviour with my setup.
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.
I've upgraded to version 12.1 and that has resolved the errors.
thanks,