ITextUndoHistoryRegistry Methods

 

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

NameDescription
System_CAPS_pubmethodAttachHistory(Object^, ITextUndoHistory^)

Attaches an existing ITextUndoHistory to a text buffer. The buffer must not already be mapped in this registry.

System_CAPS_pubmethodGetHistory(Object^)

Gets a history associated with the text buffer, but does not create a new one.

System_CAPS_pubmethodRegisterHistory(Object^)

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

System_CAPS_pubmethodRemoveHistory(ITextUndoHistory^)

Removes all mappings to a given ITextUndoHistory in this registry, if any exist.

System_CAPS_pubmethodTryGetHistory(Object^, ITextUndoHistory^)

Gets a history associated with the text buffer, but does not create a new one.

Return to top
Show: