Condividi tramite


VsTextBufferCoordinatorClass Class

Definition

Provides mapping services between two buffers. See IVsTextBufferCoordinator.

public ref class VsTextBufferCoordinatorClass : Microsoft::VisualStudio::TextManager::Interop::VsTextBufferCoordinator
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextBufferCoordinatorClass : Microsoft::VisualStudio::TextManager::Interop::VsTextBufferCoordinator
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("3E77FA94-526F-4233-BF81-B2B0329A62B9")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextBufferCoordinatorClass : Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinator
[System.Runtime.InteropServices.Guid("3E77FA94-526F-4233-BF81-B2B0329A62B9")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsTextBufferCoordinatorClass : Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinator
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("3E77FA94-526F-4233-BF81-B2B0329A62B9")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsTextBufferCoordinatorClass = class
    interface IVsTextBufferCoordinator
    interface VsTextBufferCoordinator
[<System.Runtime.InteropServices.Guid("3E77FA94-526F-4233-BF81-B2B0329A62B9")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsTextBufferCoordinatorClass = class
    interface VsTextBufferCoordinator
    interface IVsTextBufferCoordinator
Public Class VsTextBufferCoordinatorClass
Implements VsTextBufferCoordinator
Inheritance
VsTextBufferCoordinatorClass
Attributes
Implements

Constructors

VsTextBufferCoordinatorClass()

Creates a new instance of the class.

Methods

EnableReplication(UInt32, Int32)

Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary.

EnumSpans(IVsEnumBufferCoordinatorSpans)

Returns a list of span mappings controlled by the buffer coordinator object.

GetMappingOfPrimaryPosition(Int32, TextSpan[], TextSpan[])

Maps the specified position in the primary buffer to the span in the secondary buffer.

GetPrimaryBuffer(IVsTextLines)

Returns the primary language buffer.

GetSecondaryBuffer(IVsTextLines)

Returns the secondary language buffer.

MapPrimaryToSecondarySpan(TextSpan, TextSpan[])

Maps the specified position in the primary buffer to a position in the secondary buffer.

MapSecondaryToPrimarySpan(TextSpan, TextSpan[])

Maps the specified position in the secondary buffer to a position in the primary buffer.

SetBufferMappingModes(UInt32, UInt32)

Establishes the mapping modes for both primary and secondary buffers.

SetBuffers(IVsTextLines, IVsTextLines)

Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object.

SetSpanMappings(Int32, NewSpanMapping[])

Establishes the list of mappings between the primary and secondary buffers.

Applies to