ITextUndoHistoryRegistry.RegisterHistory Method

Gets, and if necessary creates, a history associated with the context.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

ITextUndoHistory RegisterHistory(
	Object context
)

Parameters

context
Type: System.Object

This object should always be an ITextBuffer.

Only a weak reference is held to the buffer.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft