I have an editor that is set to read only, but i can still perform replacements. I'd like to be able to prevent replacements from happening. I'm thinking that I can watch for text replacements programmatically, but I'd much rather just disable the replace button in the find form.
What is the best method for me to prevent text replacement in an editor with text set to read only?