ITextBufferFactoryService ITextBufferFactoryService ITextBufferFactoryService ITextBufferFactoryService Interface

Definition

The factory service for ordinary text buffers.

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

Remarks

This is a MEF Component, and should be imported with the following syntax:

[Import]  
ITextBufferFactoryService TextBufferFactoryService =null;  

Properties

InertContentType InertContentType InertContentType InertContentType

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

PlaintextContentType PlaintextContentType PlaintextContentType PlaintextContentType

Predefined content type for plain text files.

TextContentType TextContentType TextContentType TextContentType

The text content type.

Methods

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

Creates an empty ITextBuffer with IContentType "text".

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)

Creates an ITextBuffer with the given content type and populates it by reading data from the specified text reader.

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

Raised when any ITextBuffer is created.

Applies to