VsTextView Interface

 

Manages the text view of an editor window. Contains methods to manage the text view. The view is essentially the editor window shown in the UI. See IVsTextView.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[GuidAttribute("BB23A14B-7C61-469A-9890-A95648CED5E6")]
public interface VsTextView : IVsTextView

NameDescription
System_CAPS_pubmethodAddCommandFilter(IOleCommandTarget, IOleCommandTarget)

Adds a command filter to the existing chain of command filters.(Inherited from IVsTextView.)

System_CAPS_pubmethodCenterColumns(Int32, Int32, Int32)

Places the specified column of text in the center of the view.(Inherited from IVsTextView.)

System_CAPS_pubmethodCenterLines(Int32, Int32)

Places the specified lines of text in the center of the view.(Inherited from IVsTextView.)

System_CAPS_pubmethodClearSelection(Int32)

Clears the current selection.(Inherited from IVsTextView.)

System_CAPS_pubmethodCloseView()

Closes and unregisters a view with the view manager.(Inherited from IVsTextView.)

System_CAPS_pubmethodEnsureSpanVisible(TextSpan)

Ensures that text is in view, both vertically and horizontally.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetBuffer(IVsTextLines)

Returns the current contents of the text buffer.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetCaretPos(Int32, Int32)

Returns the line and column index of the cursor position.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetLineAndColumn(Int32, Int32, Int32)

Converts a text stream position to a line and column index.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetLineHeight(Int32)

Returns the pixel height of a line.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetNearestPosition(Int32, Int32, Int32, Int32)

Converts a line and column index to a text stream position.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetPointOfLineColumn(Int32, Int32, POINT[])

Returns the coordinates for the upper left corner of a particular line and column.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetScrollInfo(Int32, Int32, Int32, Int32, Int32)

Returns the core text editor's scroll bar settings for the specified scroll bar.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetSelectedText(String)

Returns a copy of the selected text.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetSelection(Int32, Int32, Int32, Int32)

Returns the text span corresponding to the current selection, if there is one.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetSelectionDataObject(IDataObject)

Returns a copy of the selected text in IDataObject interface format.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetSelectionMode()

Returns the current selection mode.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetSelectionSpan(TextSpan[])

Returns the text span associated with a selection.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetTextStream(Int32, Int32, Int32, Int32, String)

Returns a specified stream of text in a string.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetWindowHandle()

Returns the window handle for this view.(Inherited from IVsTextView.)

System_CAPS_pubmethodGetWordExtent(Int32, Int32, UInt32, TextSpan[])

Returns the current word extent.(Inherited from IVsTextView.)

System_CAPS_pubmethodHighlightMatchingBrace(UInt32, UInt32, TextSpan[])

Highlights the matching brace in a language construct.(Inherited from IVsTextView.)

System_CAPS_pubmethodInitialize(IVsTextLines, IntPtr, UInt32, INITVIEW[])

Creates the view and allows clients to specify one or more TextViewInitFlags options.(Inherited from IVsTextView.)

System_CAPS_pubmethodPositionCaretForEditing(Int32, Int32)

Puts the caret in a position suitable for editing a function.(Inherited from IVsTextView.)

System_CAPS_pubmethodRemoveCommandFilter(IOleCommandTarget)

Removes a command filter from the chain of command filters.(Inherited from IVsTextView.)

System_CAPS_pubmethodReplaceTextOnLine(Int32, Int32, Int32, String, Int32)

Replaces line text.(Inherited from IVsTextView.)

System_CAPS_pubmethodRestrictViewRange(Int32, Int32, IVsViewRangeClient)

Reduces the view’s range of visible/editable lines to a subset of the buffer’s lines.(Inherited from IVsTextView.)

System_CAPS_pubmethodSendExplicitFocus()

Sends explicit focus to the window.(Inherited from IVsTextView.)

System_CAPS_pubmethodSetBuffer(IVsTextLines)

Associates a text buffer with the view.(Inherited from IVsTextView.)

System_CAPS_pubmethodSetCaretPos(Int32, Int32)

Sets the coordinates of the end point of a selection.(Inherited from IVsTextView.)

System_CAPS_pubmethodSetScrollPosition(Int32, Int32)

Sets the core text editor's scroll bar settings for the specified scroll bar.(Inherited from IVsTextView.)

System_CAPS_pubmethodSetSelection(Int32, Int32, Int32, Int32)

Selects specified text.(Inherited from IVsTextView.)

System_CAPS_pubmethodSetSelectionMode(TextSelMode)

Sets the selection mode.(Inherited from IVsTextView.)

System_CAPS_pubmethodSetTopLine(Int32)

Sets the top line in the view to the baseline.(Inherited from IVsTextView.)

System_CAPS_pubmethodUpdateCompletionStatus(IVsCompletionSet, UInt32)

Used for word completion control.(Inherited from IVsTextView.)

System_CAPS_pubmethodUpdateTipWindow(IVsTipWindow, UInt32)

Updates the tip window.(Inherited from IVsTextView.)

System_CAPS_pubmethodUpdateViewFrameCaption()

Forces the view to update its frame window caption, such as "[Read only]".(Inherited from IVsTextView.)

Return to top
Show: