Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides read and write access to the text buffer using two-dimensional coordinates.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("ECF3E19D-149C-43AA-80C2-D0A46946DAA3")> _
Public Interface IVsTextLines _
Inherits IVsTextBuffer
'Usage
Dim instance As IVsTextLines
[InterfaceTypeAttribute()]
[GuidAttribute("ECF3E19D-149C-43AA-80C2-D0A46946DAA3")]
public interface IVsTextLines : IVsTextBuffer
[InterfaceTypeAttribute()]
[GuidAttribute(L"ECF3E19D-149C-43AA-80C2-D0A46946DAA3")]
public interface class IVsTextLines : IVsTextBuffer
public interface IVsTextLines extends IVsTextBuffer
Remarks
The IVsTextLines interface provides the mechanism to access the contents of the text buffer in a line-oriented fashion. IVsTextLines is derived from IVsTextBuffer.
Text is defined as lines separated by end-of-line (EOL) indicators. Lines are measured using a long type. This interface provides extensive text read and write capabilities using the two-dimensional coordinate system. You can also use this interface to create text markers.
IVsTextLines calls methods in IVsTextLinesEvents to inform a listener that text or attributes in the buffer have changed. For more information about setting up event notification, see IVsTextLinesEvents.
See illustrations of the implementation and/or calling of this interface in the samples Figures Edit, Figures Language Service, and Solution Extender.
Notes to Implementers:
Implemented by text buffers in the environment.
Notes to Callers:
Called by clients that want to access the text buffer. You can use the text buffer object to read or change text.