C# Class ShaderTools.VisualStudio.Hlsl.Editing.BraceCompletion.BraceCompletionContext

Inheritance: IBraceCompletionContext
Mostrar archivo Open project: tgjones/HlslTools Class Usage Examples

Public Methods

Method Description
AllowOverType ( IBraceCompletionSession session ) : bool
BraceCompletionContext ( ISmartIndentationService smartIndentationService, ITextBufferUndoManagerProvider undoManager, HlslClassificationService classificationService, IHlslOptionsService optionsService ) : System
Finish ( IBraceCompletionSession session ) : void
OnReturn ( IBraceCompletionSession session ) : void
Start ( IBraceCompletionSession session ) : void

Private Methods

Method Description
ContainsOnlyWhitespace ( IBraceCompletionSession session ) : bool
FormatTrackingSpan ( IBraceCompletionSession session, bool shouldHonorAutoFormattingOnCloseBraceOption ) : void
GetDesiredIndentation ( IBraceCompletionSession session, ITextSnapshotLine lineOnSubjectBuffer ) : int
GetUndoHistory ( ITextView textView ) : ITextUndoHistory
IsOpeningBraceOfType ( IBraceCompletionSession session ) : bool
PutCaretOnLine ( IBraceCompletionSession session, int lineNumber ) : void

Method Details

AllowOverType() public method

public AllowOverType ( IBraceCompletionSession session ) : bool
session IBraceCompletionSession
return bool

BraceCompletionContext() public method

public BraceCompletionContext ( ISmartIndentationService smartIndentationService, ITextBufferUndoManagerProvider undoManager, HlslClassificationService classificationService, IHlslOptionsService optionsService ) : System
smartIndentationService ISmartIndentationService
undoManager ITextBufferUndoManagerProvider
classificationService ShaderTools.VisualStudio.Hlsl.Tagging.Classification.HlslClassificationService
optionsService IHlslOptionsService
return System

Finish() public method

public Finish ( IBraceCompletionSession session ) : void
session IBraceCompletionSession
return void

OnReturn() public method

public OnReturn ( IBraceCompletionSession session ) : void
session IBraceCompletionSession
return void

Start() public method

public Start ( IBraceCompletionSession session ) : void
session IBraceCompletionSession
return void