[TextEditor] Implemented faster replace all approach.
[Ide] Don't iterate over the runtime configurations IEnumerable more than once.
[Ide] Robustify the removing/re-adding of event handlers in the MainToolbar with try/finally