IVsTextStorage Interface

 

Represents the range of text that is viewable and editable by text editor views.

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

[GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[InterfaceTypeAttribute(1)]
public interface IVsTextStorage

NameDescription
System_CAPS_pubmethodStorage_Attach(Object)

Attaches a text buffer.

System_CAPS_pubmethodStorage_CopyText(Int32, Int32, Int32, IntPtr, Int32)

Copy the specified text.

System_CAPS_pubmethodStorage_Detach()

Detach the storage buffer.

System_CAPS_pubmethodStorage_Find(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Find the specified text in the indicated span.

System_CAPS_pubmethodStorage_GetCharsInSpan(TextSpan[], Int32)

Gets the number of characters in the specified span.

System_CAPS_pubmethodStorage_GetLanguageServiceID(Guid)

Gets the GUID of the language service.

System_CAPS_pubmethodStorage_GetLength()

Gets the length of the storage.

System_CAPS_pubmethodStorage_GetLengthOfLine(Int32, Int32)

Gets the length of the specified line.

System_CAPS_pubmethodStorage_GetLineCount()

Gets the storage line count.

System_CAPS_pubmethodStorage_GetLineDataEx(UInt32, Int32, Int32, Int32, LINEDATAEX[])

Gets the line data.

System_CAPS_pubmethodStorage_GetLineIndexOfPosition(Int32, Int32, Int32)

Gets the line index of a position in the storage.

System_CAPS_pubmethodStorage_GetPositionOfLineIndex(Int32, Int32, Int32)

Gets the position in the storage of the specified line index.

System_CAPS_pubmethodStorage_RefreshColorization(Int32, Int32, Int32)

Refresh the colorization of the specified set of lines.

System_CAPS_pubmethodStorage_ReleaseLineDataEx(LINEDATAEX[])

Releases previously obtained line data.

System_CAPS_pubmethodStorage_Replace(ChangeInput[], TextSpan[])

Replace/change the text.

System_CAPS_pubmethodStorage_SetLanguageServiceID(Guid)

Sets the language service for the storage.

IVsTextStorage is required for all storage objects.

Return to top
Show: