I have a console window with avalonedit and I want to make the current text in the window readonly. That is, after a certain command is executed from the console and its result comes to the window, I want to make the contents readonly so that the user cannot delete it anymore. (eg. deleting the prompt etc).
What is the way to do it ? could someone post an example ?