Compartir a través de


VsTextBufferCoordinator Interface

Provides mapping services between two buffers. See IVsTextBufferCoordinator.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("84465401-2886-4CE0-AF50-C0560226ED40")> _
Public Interface VsTextBufferCoordinator _
    Inherits IVsTextBufferCoordinator
[GuidAttribute("84465401-2886-4CE0-AF50-C0560226ED40")]
public interface VsTextBufferCoordinator : IVsTextBufferCoordinator
[GuidAttribute(L"84465401-2886-4CE0-AF50-C0560226ED40")]
public interface class VsTextBufferCoordinator : IVsTextBufferCoordinator
[<GuidAttribute("84465401-2886-4CE0-AF50-C0560226ED40")>]
type VsTextBufferCoordinator =  
    interface 
        interface IVsTextBufferCoordinator 
    end
public interface VsTextBufferCoordinator extends IVsTextBufferCoordinator

The VsTextBufferCoordinator type exposes the following members.

Methods

  Name Description
Public method EnableReplication Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary. (Inherited from IVsTextBufferCoordinator.)
Public method EnumSpans Returns a list of span mappings controlled by the buffer coordinator object. (Inherited from IVsTextBufferCoordinator.)
Public method GetMappingOfPrimaryPosition Maps the specified position in the primary buffer to the span in the secondary buffer. (Inherited from IVsTextBufferCoordinator.)
Public method GetPrimaryBuffer Returns the primary language buffer. (Inherited from IVsTextBufferCoordinator.)
Public method GetSecondaryBuffer Returns the secondary language buffer. (Inherited from IVsTextBufferCoordinator.)
Public method MapPrimaryToSecondarySpan Maps the specified position in the primary buffer to a position in the secondary buffer. (Inherited from IVsTextBufferCoordinator.)
Public method MapSecondaryToPrimarySpan Maps the specified position in the secondary buffer to a position in the primary buffer. (Inherited from IVsTextBufferCoordinator.)
Public method SetBufferMappingModes Establishes the mapping modes for both primary and secondary buffers. (Inherited from IVsTextBufferCoordinator.)
Public method SetBuffers Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object. (Inherited from IVsTextBufferCoordinator.)
Public method SetSpanMappings Establishes the list of mappings between the primary and secondary buffers. (Inherited from IVsTextBufferCoordinator.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace