TCustomRichViewEdit.Clear

<< Click to display table of contents >>

TCustomRichViewEdit.Clear

Clears the document.

procedure Clear;override;

This method:

deletes all content of the document (see RichView.Clear);

sets the current text style index (CurTextStyleNo) and the current paragraph style index (CurParaStyleNo) to zeros;

clears undo and redo buffers (see ClearUndo);

sets Modified to False.

This method does not check ReadOnly, does not reformat and repaint component, does not generate OnChange.

This methods makes the document unformatted.