Bug 545252 - Improve IDocumentAdapterExtension in DefaultDocumentAdapter
with copy-on-write approach

For the old implementation when change forwarding is disabled the whole
document content is copied and the line tracking information rebuild
even if the document is not changed but only read.

The new approach only copies the document if a change happens.

Change-Id: I396a142d70268e33017117e9e99535ae37463b72
Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2 files changed