Condividi tramite


TextContentChangedEventArgs Class

Definition

Provides information about an edit transaction on an ITextBuffer.

public ref class TextContentChangedEventArgs : Microsoft::VisualStudio::Text::TextSnapshotChangedEventArgs
public class TextContentChangedEventArgs : Microsoft.VisualStudio.Text.TextSnapshotChangedEventArgs
type TextContentChangedEventArgs = class
    inherit TextSnapshotChangedEventArgs
Public Class TextContentChangedEventArgs
Inherits TextSnapshotChangedEventArgs
Inheritance
TextContentChangedEventArgs
Derived

Remarks

This class provides information for events that include the following:

Constructors

TextContentChangedEventArgs(ITextSnapshot, ITextSnapshot, EditOptions, Object)

Initializes an new instance of TextContentChangedEventArgs for a Change event.

Properties

After

Gets the state of the ITextBuffer after the change.

(Inherited from TextSnapshotChangedEventArgs)
AfterVersion

Gets the ITextVersionn associated with After.

(Inherited from TextSnapshotChangedEventArgs)
Before

Gets the state of the ITextBuffer before the change occurred.

(Inherited from TextSnapshotChangedEventArgs)
BeforeVersion

Gets the ITextVersion associated with Before.

(Inherited from TextSnapshotChangedEventArgs)
Changes

Gets the set of changes that occurred.

EditTag

Gets an arbitrary object provided by the initiator of the changes.

(Inherited from TextSnapshotChangedEventArgs)
Options

Gets the edit options that were applied to this change.

Applies to