C# 클래스 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.
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CreateDocument() 공개 메소드

Creates a new IDocument object. Only create IDocument with this method.
public CreateDocument ( ) : IDocument
리턴 IDocument

CreateFromFile() 공개 메소드

Creates a new document and loads the given file
public CreateFromFile ( string fileName ) : IDocument
fileName string
리턴 IDocument

CreateFromTextBuffer() 공개 메소드

Creates a new document and loads the given file
public CreateFromTextBuffer ( ITextBufferStrategy textBuffer ) : IDocument
textBuffer ITextBufferStrategy
리턴 IDocument