Share via


VSTextView Object

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

Reference

VSTextBuffer Object

Concepts

Accessing theText View by Using the Legacy API

Other Resources

Figures Edit