VsTextLineStorageClass Class

Definition

Represents the image that is persisted and unpersisted. Represents the range of text that is viewable and editable by text editor views. See IVsPersistentTextImage and IVsTextStorage.

public ref class VsTextLineStorageClass : Microsoft::VisualStudio::TextManager::Interop::IVsPersistentTextImage, Microsoft::VisualStudio::TextManager::Interop::VsTextLineStorage
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextLineStorageClass : Microsoft::VisualStudio::TextManager::Interop::IVsPersistentTextImage, Microsoft::VisualStudio::TextManager::Interop::VsTextLineStorage
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("D6513A91-ACC8-11D2-8919-0000F87579D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextLineStorageClass : Microsoft.VisualStudio.TextManager.Interop.IVsPersistentTextImage, Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorage
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("D6513A91-ACC8-11D2-8919-0000F87579D2")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsTextLineStorageClass : Microsoft.VisualStudio.TextManager.Interop.IVsPersistentTextImage, Microsoft.VisualStudio.TextManager.Interop.VsTextLineStorage
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("D6513A91-ACC8-11D2-8919-0000F87579D2")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsTextLineStorageClass = class
    interface IVsTextStorage
    interface VsTextLineStorage
    interface IVsPersistentTextImage
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("D6513A91-ACC8-11D2-8919-0000F87579D2")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsTextLineStorageClass = class
    interface VsTextLineStorage
    interface IVsTextStorage
    interface IVsPersistentTextImage
Public Class VsTextLineStorageClass
Implements IVsPersistentTextImage, VsTextLineStorage
Inheritance
VsTextLineStorageClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsTextLineStorageClass()

Creates a new instance of the class.

Methods

Image_Alloc(Int32)

Allocates space of specified size for persistent disk image storage.

Image_CloseFullTextScan()

Closes the full text scan of the image.

Image_Free(IntPtr)

Frees space used by the persistent disk image.

Image_FullTextRead(String, Int32)

Reads the full text image.

Image_GetLength()

Gets the length of the text image.

Image_LoadText(String, Int32, UInt32)

Loads the specified text image.

Image_OpenFullTextScan()

Open a full scan of the text image.

Image_Realloc(IntPtr, Int32)

Reallocates space for the specified text image.

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. Flags indicating search options.

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 line index of a position in the storage.

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