IVsTextStorage Interface

Definition

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

public interface class IVsTextStorage
public interface class IVsTextStorage
__interface IVsTextStorage
[System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextStorage
[System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextStorage
[<System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextStorage = interface
[<System.Runtime.InteropServices.Guid("1ABAC269-8FB0-438E-8217-230AC6EB5766")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextStorage = interface
Public Interface IVsTextStorage
Derived
Attributes

Remarks

IVsTextStorage is required for all storage objects.

Methods

Storage_Attach(Object)

Attaches a text buffer.

Storage_CopyText(Int32, Int32, Int32, IntPtr, Int32)

Copy the specified text.

Storage_Detach()

Detach the storage buffer.

Storage_Find(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Find the specified text in the indicated span.

Storage_GetCharsInSpan(TextSpan[], Int32)

Gets the number of characters in the specified span.

Storage_GetLanguageServiceID(Guid)

Gets the GUID of the language service.

Storage_GetLength()

Gets the length of the storage.

Storage_GetLengthOfLine(Int32, Int32)

Gets the length of the specified line.

Storage_GetLineCount()

Gets the storage line count.

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

Gets the line data.

Storage_GetLineIndexOfPosition(Int32, Int32, Int32)

Gets the line index of a position in the storage.

Storage_GetPositionOfLineIndex(Int32, Int32, Int32)

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

Storage_RefreshColorization(Int32, Int32, Int32)

Refresh the colorization of the specified set of lines.

Storage_ReleaseLineDataEx(LINEDATAEX[])

Releases previously obtained line data.

Storage_Replace(ChangeInput[], TextSpan[])

Replace/change the text.

Storage_SetLanguageServiceID(Guid)

Sets the language service for the storage.

Applies to