IDifferenceTextViewModel Interface

 

Represents a set of zero or more ITextBuffer objects that are unique to the presentation of text in a particular ITextView.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public interface IDifferenceTextViewModel : ITextViewModel, IPropertyOwner, 
	IDisposable

NameDescription
System_CAPS_pubpropertyDataBuffer

Represents the ITextBuffer for the data level. (Inherited from ITextViewModel.)

System_CAPS_pubpropertyDataModel

Gets the ITextDataModel that supplies the DataBuffer and the governing IContentType for the view.(Inherited from ITextViewModel.)

System_CAPS_pubpropertyEditBuffer

Gets the ITextBuffer in which editing positions are tracked and to which edits are applied. All the text that appears in the view must reside in this buffer.(Inherited from ITextViewModel.)

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyViewer

Gets or sets a pointer to the difference viewer that created the view that uses this IDifferenceTextViewModel.

System_CAPS_pubpropertyViewType

Gets or sets the type of the view that uses this IDifferenceTextViewModel.

System_CAPS_pubpropertyVisualBuffer

Gets the ITextBuffer whose contents should be presented in the editor.(Inherited from ITextViewModel.)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodGetNearestPointInVisualBuffer(SnapshotPoint)

Gets a point in the VisualBuffer that corresponds to the specified point in the edit buffer. If the point is hidden or has an alternative representation, gets the nearest point to it.(Inherited from ITextViewModel.)

System_CAPS_pubmethodGetNearestPointInVisualSnapshot(SnapshotPoint, ITextSnapshot, PointTrackingMode)

Gets a point in the VisualBuffer that corresponds to the specified point in the edit buffer. If the point is hidden or has an alternative representation, gets the nearest point to it.(Inherited from ITextViewModel.)

System_CAPS_pubmethodIsPointInVisualBuffer(SnapshotPoint, PositionAffinity)

Determines whether a point in the edit buffer is represented in the visual buffer.(Inherited from ITextViewModel.)

Return to top
Show: