Avoid creating unnecessary copies of TextEdit's text data.