Udostępnij za pośrednictwem


IVsTextImage Interface

Definition

Supports text string matching.

public interface class IVsTextImage
public interface class IVsTextImage
__interface IVsTextImage
[System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextImage
[System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextImage
[<System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextImage = interface
[<System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextImage = interface
Public Interface IVsTextImage
Derived
Attributes

Notes to Implementers

Implement this interface to support find and replace in a text image.

Methods

AdviseTextImageEvents(IVsTextImageEvents, UInt32)

Registers the environment to receive notification of text image changes.

GetCharSize(Int32)

Returns the number of characters in the text image.

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

Provides direct, line-oriented access to the text buffer.

GetLineLength(Int32, Int32)

Return the length of a line.

GetLineSize(Int32)

Returns the number of lines in the text image.

GetOffsetOfTextAddress(TextAddress, Int32)

Return the buffer address of a given text address.

GetSpanLength(TextSpan[], Int32)

Return the number of characters in a text span.

GetText(TextSpan[], Int32, UInt16[])

Return the text of a text span.

GetTextAddressOfOffset(Int32, TextAddress[])

Return the text address of a given buffer address.

GetTextBSTR(TextSpan[], String)

Return the text of a text span as a BSTR

LockImage(UInt32)

Notifies that the text image is in use.

ReleaseLine(LINEDATAEX[])

Releases the LINEDATAEX structure.

Replace(UInt32, TextSpan[], Int32, String, TextSpan[])

Notification of a text span replacement.

UnadviseTextImageEvents(UInt32)

Cancels the environment's registration to receive notifications of text image changes.

UnlockImage(UInt32)

Notifies that the text image is not in use.

Applies to