The following code resets the document. Resetting deletes all text and formatting, leaving the end of text paragraph delimiter. Because resetting deletes the document’s content and formatting, a call to HandleGlobalChangeL() is required to update the formatting and the view.
// Reset document. iRichText->ResetL(); // change whole document iTextView->HandleGlobalChangeL();
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.