Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



How to reset

The following code resets the document. Resetting deletes all text and formatting, leaving the end of text paragraph delimiter. Because resetting deletes the documents 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();