Compartir a través de


VsTextBufferCoordinator Interface

Definition

Provides mapping services between two buffers. See IVsTextBufferCoordinator.

public interface class VsTextBufferCoordinator : Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator
public interface class VsTextBufferCoordinator : Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator
__interface VsTextBufferCoordinator : Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinatorClass))]
[System.Runtime.InteropServices.Guid("84465401-2886-4CE0-AF50-C0560226ED40")]
public interface VsTextBufferCoordinator : Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinatorClass))]
[System.Runtime.InteropServices.Guid("84465401-2886-4CE0-AF50-C0560226ED40")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsTextBufferCoordinator : Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinatorClass))>]
[<System.Runtime.InteropServices.Guid("84465401-2886-4CE0-AF50-C0560226ED40")>]
type VsTextBufferCoordinator = interface
    interface IVsTextBufferCoordinator
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinatorClass))>]
[<System.Runtime.InteropServices.Guid("84465401-2886-4CE0-AF50-C0560226ED40")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsTextBufferCoordinator = interface
    interface IVsTextBufferCoordinator
Public Interface VsTextBufferCoordinator
Implements IVsTextBufferCoordinator
Derived
Attributes
Implements

Methods

EnableReplication(UInt32, Int32)

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

(Inherited from IVsTextBufferCoordinator)
EnumSpans(IVsEnumBufferCoordinatorSpans)

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

(Inherited from IVsTextBufferCoordinator)
GetMappingOfPrimaryPosition(Int32, TextSpan[], TextSpan[])

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

(Inherited from IVsTextBufferCoordinator)
GetPrimaryBuffer(IVsTextLines)

Returns the primary language buffer.

(Inherited from IVsTextBufferCoordinator)
GetSecondaryBuffer(IVsTextLines)

Returns the secondary language buffer.

(Inherited from IVsTextBufferCoordinator)
MapPrimaryToSecondarySpan(TextSpan, TextSpan[])

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

(Inherited from IVsTextBufferCoordinator)
MapSecondaryToPrimarySpan(TextSpan, TextSpan[])

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

(Inherited from IVsTextBufferCoordinator)
SetBufferMappingModes(UInt32, UInt32)

Establishes the mapping modes for both primary and secondary buffers.

(Inherited from IVsTextBufferCoordinator)
SetBuffers(IVsTextLines, IVsTextLines)

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

(Inherited from IVsTextBufferCoordinator)
SetSpanMappings(Int32, NewSpanMapping[])

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

(Inherited from IVsTextBufferCoordinator)

Applies to