Partilhar via


IVsEditorAdaptersFactoryService Interface

Definition

A factory service for creating Editor Adapter objects and mapping between such objects and the underlying new editor objects.

public interface class IVsEditorAdaptersFactoryService
public interface class IVsEditorAdaptersFactoryService
__interface IVsEditorAdaptersFactoryService
public interface IVsEditorAdaptersFactoryService
type IVsEditorAdaptersFactoryService = interface
Public Interface IVsEditorAdaptersFactoryService

Remarks

This is a MEF Component, and should be exported with the following attribute: [Export(typeof(IVsEditorAdaptersFactoryService))]

Methods

CreateVsCodeWindowAdapter(IServiceProvider)

Create an IVsCodeWindow.

CreateVsTextBufferAdapter(IServiceProvider, IContentType)

Create an IVsTextBuffer with a specified content type.

CreateVsTextBufferAdapter(IServiceProvider)

Create an IVsTextBuffer.

CreateVsTextBufferAdapterForSecondaryBuffer(IServiceProvider, ITextBuffer)

Create an IVsTextBuffer for the SecondaryBuffer (used in BufferCoordinator) given an ITextBuffer

CreateVsTextBufferCoordinatorAdapter()

Create an IVsTextBuffercoordinator.

CreateVsTextViewAdapter(IServiceProvider, ITextViewRoleSet)

Create an IVsTextView with a specified set of text view roles.

CreateVsTextViewAdapter(IServiceProvider)

Create an IVsTextView.

GetBufferAdapter(ITextBuffer)

Get the IVsTextBuffer adapter for this text buffer (if it exists).

GetDataBuffer(IVsTextBuffer)

Get the DataBuffer of an IVsTextBuffer adapter (this is the top buffer of the data model buffer graph). This buffer will be the same as the DocumentBuffer except in BufferCoordinator scenarios.

GetDocumentBuffer(IVsTextBuffer)

Get the DocumentBuffer of an IVsTextBuffer adapter (this is the bottom buffer of the data model buffer graph). This buffer will be the same as the DataBuffer except in BufferCoordinator scenarios.

GetViewAdapter(ITextView)

Get the IVsTextView adapter for this text view (if it exists).

GetWpfTextView(IVsTextView)

Get the WpfTextView of an IVsTextView adapter.

GetWpfTextViewHost(IVsTextView)

Get the WpfTextViewHost of an IVsTextView adapter.

SetDataBuffer(IVsTextBuffer, ITextBuffer)

Set the DataBuffer of an IVsTextBuffer adapter that is being used together with an IVsTextBufferCoordinator adapter.

Applies to