C# Class Microsoft.Markdown.Editor.Document.MdEditorDocument

Main editor document for Markdown language
Inheritance: IEditorDocument
Mostra file Open project: Microsoft/RTVS

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
FindInProjectedBuffers ( ITextBuffer viewBuffer ) : IMdEditorDocument

Given text view locates document in underlying text buffer graph.

FromTextBuffer ( ITextBuffer textBuffer ) : IMdEditorDocument

Retrieves document instance from text buffer

MdEditorDocument ( ITextBuffer textBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell ) : System
TryFromTextBuffer ( ITextBuffer textBuffer ) : IMdEditorDocument

Retrieves document instance from text buffer

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FindInProjectedBuffers() public static method

Given text view locates document in underlying text buffer graph.
public static FindInProjectedBuffers ( ITextBuffer viewBuffer ) : IMdEditorDocument
viewBuffer ITextBuffer
return IMdEditorDocument

FromTextBuffer() public static method

Retrieves document instance from text buffer
public static FromTextBuffer ( ITextBuffer textBuffer ) : IMdEditorDocument
textBuffer ITextBuffer
return IMdEditorDocument

MdEditorDocument() public method

public MdEditorDocument ( ITextBuffer textBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell ) : System
textBuffer ITextBuffer
projectionBufferFactoryService IProjectionBufferFactoryService
contentTypeRegistryService IContentTypeRegistryService
coreShell ICoreShell
return System

TryFromTextBuffer() public static method

Retrieves document instance from text buffer
public static TryFromTextBuffer ( ITextBuffer textBuffer ) : IMdEditorDocument
textBuffer ITextBuffer
return IMdEditorDocument