Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
The EditControl destroys the whole file if i insert a line and then write a word and save it. Also in your example.
Here is a picture of what exactly happens:

