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.