C# 클래스 Microsoft.Languages.Editor.Projection.ProjectionBufferManager

Manages the projection buffer for the primary language
상속: IProjectionBufferManager
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
Dispose ( ) : void
FromTextBuffer ( ITextBuffer textBuffer ) : IProjectionBufferManager
ProjectionBufferManager ( ITextBuffer diskBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell, string topLevelContentTypeName, string secondaryContentTypeName ) : System
SetProjectionMappings ( string secondaryContent, IReadOnlyList mappings ) : void

비공개 메소드들

메소드 설명
CreateSecondarySpans ( string secondaryText, IReadOnlyList mappings ) : List
CreateViewSpans ( IReadOnlyList mappings ) : List
GetCaret ( ) : ITextCaret
GetCaretPosition ( ) : int?
MapEverythingToView ( ) : void
RestoreCaretPosition ( ) : void
SaveCaretPosition ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FromTextBuffer() 공개 정적인 메소드

public static FromTextBuffer ( ITextBuffer textBuffer ) : IProjectionBufferManager
textBuffer ITextBuffer
리턴 IProjectionBufferManager

ProjectionBufferManager() 공개 메소드

public ProjectionBufferManager ( ITextBuffer diskBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell, string topLevelContentTypeName, string secondaryContentTypeName ) : System
diskBuffer ITextBuffer
projectionBufferFactoryService IProjectionBufferFactoryService
contentTypeRegistryService IContentTypeRegistryService
coreShell ICoreShell
topLevelContentTypeName string
secondaryContentTypeName string
리턴 System

SetProjectionMappings() 공개 메소드

public SetProjectionMappings ( string secondaryContent, IReadOnlyList mappings ) : void
secondaryContent string
mappings IReadOnlyList
리턴 void