ITextBufferFactoryService ITextBufferFactoryService ITextBufferFactoryService ITextBufferFactoryService ITextBufferFactoryService ITextBufferFactoryService Interface

Definition

The factory service for ordinary TextBuffers.

public interface class ITextBufferFactoryService
public interface class ITextBufferFactoryService
__interface ITextBufferFactoryService
public interface ITextBufferFactoryService
type ITextBufferFactoryService = interface
Public Interface ITextBufferFactoryService
Derived

Remarks

This is a MEF Component, and should be imported as follows:
            [Import]
            ITextBufferFactoryService factory = null;

Properties

InertContentType InertContentType InertContentType InertContentType InertContentType InertContentType

A content type for which no associated artifacts are automatically created.

PlaintextContentType PlaintextContentType PlaintextContentType PlaintextContentType PlaintextContentType PlaintextContentType

Predefined content type for plain text files.

TextContentType TextContentType TextContentType TextContentType TextContentType TextContentType

Predefined default content type. This is the base type for most content types.

Methods

CreateTextBuffer() CreateTextBuffer() CreateTextBuffer() CreateTextBuffer() CreateTextBuffer() CreateTextBuffer()

Creates an empty ITextBuffer with IContentType "text".

CreateTextBuffer(IContentType) CreateTextBuffer(IContentType) CreateTextBuffer(IContentType) CreateTextBuffer(IContentType) CreateTextBuffer(IContentType) CreateTextBuffer(IContentType)

Creates an empty ITextBuffer with the specified IContentType.

CreateTextBuffer(TextReader, IContentType) CreateTextBuffer(TextReader, IContentType) CreateTextBuffer(TextReader, IContentType) CreateTextBuffer(TextReader, IContentType) CreateTextBuffer(TextReader, IContentType) CreateTextBuffer(TextReader, IContentType)

Creates an ITextBuffer with the given contentType and populates it by reading data from the specified TextReader.

CreateTextBuffer(String, IContentType) CreateTextBuffer(String, IContentType) CreateTextBuffer(String, IContentType) CreateTextBuffer(String, IContentType) CreateTextBuffer(String, IContentType) CreateTextBuffer(String, IContentType)

Creates an ITextBuffer with the specified IContentType and populates it with the given text.

Events

TextBufferCreated TextBufferCreated TextBufferCreated TextBufferCreated TextBufferCreated TextBufferCreated

Raised when any ITextBuffer is created.

Applies to