VsTextLineStorage Interface

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.

C++/CX
public interface class VsTextLineStorage : Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage
Derived
Attributes
Implements

Methods

Storage_Attach(Object)

Attaches a text buffer.

(Inherited from IVsTextStorage)
Storage_CopyText(Int32, Int32, Int32, IntPtr, Int32)

Copy the specified text.

(Inherited from IVsTextStorage)
Storage_Detach()

Detach the storage buffer.

(Inherited from IVsTextStorage)
Storage_Find(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Find the specified text in the indicated span.

(Inherited from IVsTextStorage)
Storage_GetCharsInSpan(TextSpan[], Int32)

Gets the number of characters in the specified span.

(Inherited from IVsTextStorage)
Storage_GetLanguageServiceID(Guid)

Gets the GUID of the language service.

(Inherited from IVsTextStorage)
Storage_GetLength()

Gets the length of the storage.

(Inherited from IVsTextStorage)
Storage_GetLengthOfLine(Int32, Int32)

Gets the length of the specified line.

(Inherited from IVsTextStorage)
Storage_GetLineCount()

Gets the storage line count.

(Inherited from IVsTextStorage)
Storage_GetLineDataEx(UInt32, Int32, Int32, Int32, LINEDATAEX[])

Gets the line data.

(Inherited from IVsTextStorage)
Storage_GetLineIndexOfPosition(Int32, Int32, Int32)

Gets the line index of a position in the storage.

(Inherited from IVsTextStorage)
Storage_GetPositionOfLineIndex(Int32, Int32, Int32)

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

(Inherited from IVsTextStorage)
Storage_RefreshColorization(Int32, Int32, Int32)

Refresh the colorization of the specified set of lines.

(Inherited from IVsTextStorage)
Storage_ReleaseLineDataEx(LINEDATAEX[])

Releases previously obtained line data.

(Inherited from IVsTextStorage)
Storage_Replace(ChangeInput[], TextSpan[])

Replace/change the text.

(Inherited from IVsTextStorage)
Storage_SetLanguageServiceID(Guid)

Sets the language service for the storage.

(Inherited from IVsTextStorage)

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022