RichTextKit v0.4

ITextDocumentView Interface

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Editor

Interface implemented by views of a TextDocument

public interface ITextDocumentView

Methods

OnDocumentChange(ITextDocumentView, DocumentChangeInfo)

Notifies a view that the document has changed and provides information about which parts of the document were changed.

OnDocumentDidChange(ITextDocumentView)

Notifies that the document has finished changing

OnDocumentWillChange(ITextDocumentView)

Notifies that the document is about to change

OnRedraw()

Notifies that something other than the content of the document has changed (eg: margins) and the view needs to be redrawn but the same selection can be maintained

OnReset()

Notifies that the view needs to be reset, typically because the entire content has been reloaded or updated