![Avatar](https://secure.gravatar.com/avatar/85639dda464feb1fff5ec49d577c0f27.jpg?s=64&d=identicon&r=g)
I have a SyntaxEditor whose document is updated via the ReplaceText method. This makes me wonder about the memory impact of repeatedly replacing a document's text, assuming a large document. For instance, do I need to worry about the editor caching older versions of a large document? Does the editor's undo stack cache older versions, potentially consuming excess memory?
Assuming I need to continue relying on ReplaceText, are there any recommended steps for minimizing the editor's memory usage? Alternatively, is the memory usage actually minimal?
Thanks,
-Craig