A programmatically created selection keeps highlighting the following part of the text when its original content is deleted via keyboard.
If there are less characters left than the selection encompassed, further editing will result in unhandled Exceptions.
Steps to reproduce:
Hi Nadya,
thank you for your prompt answer and insights. Upgrading to 2020.2.616 does indeed fix the problem.
Thanks again and have a nice day!
Hello, Christian,
Thank you for writing.
I noticed that the product version that you specify is 2020.1.113. Could you please confirm that you are using this version. I tested it with the same version and was able to observe the same behavior on my end.
However, I would like to note that we have introduced some fixes regarding selected text in RadSyntaxEditor in our next release R1 2020 SP1 (version 2020.1.218). When I test the provided project with the latest version the issue does not occur, and the selection does not highlight the following part of the text. You can check the result with the latest version in the attached gif file. Is it possible to download 2020.1.218 or later version and see how it works now?
We always strive to encourage our customers to upgrade to as latest version as possible. Thus, you can benefit from all the introduced improvements and bug fixes. Note, the latest version is 2020.2.616.
I hope this information helps. Let me know if you have further questions.
Regards,
Nadya
Progress Telerik
I looks like the selection does not need to be created programmatically. Apparently, to trigger this behaviour, the selection must