ITextEditorFactoryService ITextEditorFactoryService ITextEditorFactoryService Interface

Definition

Creates editor views.

public interface ITextEditorFactoryService
type ITextEditorFactoryService = interface
Public Interface ITextEditorFactoryService

Remarks

This is a MEF component part, and should be imported as follows:

[Import] ITextEditorFactoryService factory = null;  

Properties

AllPredefinedRoles AllPredefinedRoles AllPredefinedRoles

The set of all predefined text view roles.

DefaultRoles DefaultRoles DefaultRoles

The set of roles that are used when creating a text view without specifying text view roles.

NoRoles NoRoles NoRoles

The empty text view role set.

Methods

CreateTextView() CreateTextView() CreateTextView()

Creates an IWpfTextView on a newly created ITextBuffer having content type "text".

CreateTextView(ITextBuffer) CreateTextView(ITextBuffer) CreateTextView(ITextBuffer)

Creates an IWpfTextView that displays the contents of the specified text buffer.

CreateTextView(ITextBuffer, ITextViewRoleSet) CreateTextView(ITextBuffer, ITextViewRoleSet) CreateTextView(ITextBuffer, ITextViewRoleSet)

Creates an IWpfTextView that displays the contents of the specified text buffer.

CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions) CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions) CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of the specified view model.

CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions) CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions) CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of the specified text buffer.

CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions) CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions) CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of the data model.

CreateTextViewHost(IWpfTextView, Boolean) CreateTextViewHost(IWpfTextView, Boolean) CreateTextViewHost(IWpfTextView, Boolean)

Creates a host for the text view.

CreateTextViewRoleSet(IEnumerable<String>) CreateTextViewRoleSet(IEnumerable<String>) CreateTextViewRoleSet(IEnumerable<String>)

Creates a ITextViewRoleSet containing the given roles.

CreateTextViewRoleSet(String[]) CreateTextViewRoleSet(String[]) CreateTextViewRoleSet(String[])

Creates a ITextViewRoleSet containing the given roles.

Events

TextViewCreated TextViewCreated TextViewCreated

Raised when a ITextView is created.

Applies to