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)
Syntax
'Declaration
Public Interface IDifferenceTextViewModel _
Inherits ITextViewModel, IPropertyOwner, IDisposable
public interface IDifferenceTextViewModel : ITextViewModel,
IPropertyOwner, IDisposable
public interface class IDifferenceTextViewModel : ITextViewModel,
IPropertyOwner, IDisposable
type IDifferenceTextViewModel =
interface
interface ITextViewModel
interface IPropertyOwner
interface IDisposable
end
public interface IDifferenceTextViewModel extends ITextViewModel, IPropertyOwner, IDisposable
The IDifferenceTextViewModel type exposes the following members.
Properties
Name | Description | |
---|---|---|
DataBuffer | Represents the ITextBuffer for the data level. (Inherited from ITextViewModel.) | |
DataModel | Gets the ITextDataModel that supplies the DataBuffer and the governing IContentType for the view. (Inherited from ITextViewModel.) | |
EditBuffer | 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.) | |
Properties | Gets the collection of properties controlled by the property owner. (Inherited from IPropertyOwner.) | |
Viewer | Gets or sets a pointer to the difference viewer that created the view that uses this IDifferenceTextViewModel. | |
ViewType | Gets or sets the type of the view that uses this IDifferenceTextViewModel. | |
VisualBuffer | Gets the ITextBuffer whose contents should be presented in the editor. (Inherited from ITextViewModel.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetNearestPointInVisualBuffer | 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.) | |
GetNearestPointInVisualSnapshot | 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.) | |
IsPointInVisualBuffer | Determines whether a point in the edit buffer is represented in the visual buffer. (Inherited from ITextViewModel.) |
Top