다음을 통해 공유


VSTextView Object

Note

This article applies to Visual Studio 2015. 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 allows users to 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 thread safe.
IVsWindowPane Creates and manages a window pane.
IVsLayeredTextView Interacts with text layers.
IVsThreadSafeTextView Performs operations on the view from a different thread.

See Also

Figures Edit
VSTextBuffer Object
Accessing theText View by Using the Legacy API