VSTextView object
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
The text view is a window that lets users view and edit the Unicode text of the text buffer. Essentially, the view is what most users refer to as the editor. Because the view is separated from the buffer by various text layers (word wrap, outlining text, and so on), the view is not guaranteed to be an exact representation of the text in the buffer. For more information about the text view, see Accessing theText view by using the legacy API.
The following table shows the interfaces in the VsTextView object.
Interface | Description |
---|---|
IDropSource | Standard OLE interface. |
IDropTarget | Standard OLE interface. |
IObjectWithSite | Standard OLE interface. |
IOleCommandTarget | Standard OLE interface. |
IVsCompoundAction | Enables the creation of compound actions (that is, actions that are grouped in a single undo/redo unit). |
IVsTextView | Provides the basic methods for managing and accessing the view. IVsTextView is not threaded safe. |
IVsWindowPane | Creates and manages a window pane. |
IVsLayeredTextView | Interacts with text layers. |
IVsThreadSafeTextView | Performs operations on the view from a different thread. |