Partilhar via


ITextEditorFactoryService Interface

Definition

Creates editor views.

public interface class ITextEditorFactoryService
public interface class ITextEditorFactoryService
__interface ITextEditorFactoryService
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

The set of all predefined text view roles.

DefaultRoles

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

NoRoles

The empty ITextViewRoleSet.

Methods

CreateTextView()

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

CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of textBuffer.

CreateTextView(ITextBuffer, ITextViewRoleSet)

Creates an IWpfTextView that displays the contents of textBuffer.

CreateTextView(ITextBuffer)

Creates an IWpfTextView that displays the contents of textBuffer.

CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of dataModel.

CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of viewModel.

CreateTextViewHost(IWpfTextView, Boolean)

Creates a host for the text view.

CreateTextViewRoleSet(IEnumerable<String>)

Creates a ITextViewRoleSet containing the given roles.

CreateTextViewRoleSet(String[])

Creates a ITextViewRoleSet containing the given roles.

Events

TextViewCreated

Raised when any ITextView is created.

Applies to