C# Class ICSharpCode.TextEditor.Document.DocumentFactory

This interface represents a container which holds a text sequence and all necessary information about it. It is used as the base for a text editor.
Afficher le fichier Open project: jumpinjackie/fdotoolbox Class Usage Examples

Méthodes publiques

Méthode Description
CreateDocument ( ) : IDocument Creates a new IDocument object. Only create IDocument with this method.
CreateFromFile ( string fileName ) : IDocument

Creates a new document and loads the given file

CreateFromTextBuffer ( ITextBufferStrategy textBuffer ) : IDocument

Creates a new document and loads the given file

Method Details

CreateDocument() public méthode

Creates a new IDocument object. Only create IDocument with this method.
public CreateDocument ( ) : IDocument
Résultat IDocument

CreateFromFile() public méthode

Creates a new document and loads the given file
public CreateFromFile ( string fileName ) : IDocument
fileName string
Résultat IDocument

CreateFromTextBuffer() public méthode

Creates a new document and loads the given file
public CreateFromTextBuffer ( ITextBufferStrategy textBuffer ) : IDocument
textBuffer ITextBufferStrategy
Résultat IDocument