IVsEditorAdaptersFactoryService Interface
Visual Studio 2012
Creates adapters that map between legacy TextManager code and editor code.
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
The IVsEditorAdaptersFactoryService type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CreateVsCodeWindowAdapter | Creates an IVsCodeWindow. |
![]() | CreateVsTextBufferAdapter(IServiceProvider) | Creates an IVsTextBuffer. |
![]() | CreateVsTextBufferAdapter(IServiceProvider, IContentType) | Creates an IVsTextBuffer with the specified IContentType. |
![]() | CreateVsTextBufferAdapterForSecondaryBuffer | Creates an IVsTextBuffer for the secondary buffer (used in IVsTextBufferCoordinator) for the specified ITextBuffer. |
![]() | CreateVsTextBufferCoordinatorAdapter | Creates an IVsTextBufferCoordinator. |
![]() | CreateVsTextViewAdapter(IServiceProvider) | Creates an IVsTextView. |
![]() | CreateVsTextViewAdapter(IServiceProvider, ITextViewRoleSet) | Create an IVsTextView with a specified set of text view roles. |
![]() | GetBufferAdapter | Gets the text buffer adapter for this text buffer (if it exists). |
![]() | GetDataBuffer | Get the data buffer of a text buffer adapter. This is the top buffer of the data model buffer graph. |
![]() | GetDocumentBuffer | Gets the document buffer of an IVsTextBuffer adapter. This is the bottom buffer of the data model buffer graph. |
![]() | GetViewAdapter | Get the IVsTextView adapter for this text view (if it exists). |
![]() | GetWpfTextView | Get the WPF text view of a text view adapter. |
![]() | GetWpfTextViewHost | Gets the text view host of a text view adapter. |
![]() | SetDataBuffer | Sets the data buffer of a text buffer adapter that is being used together with an IVsTextBufferCoordinator adapter. |
For examples of how to import and use this service, see the following walkthroughs:
