C# Class ShaderTools.VisualStudio.Hlsl.Formatting.FormattingExtensions

Mostrar archivo Open project: tgjones/HlslTools

Public Methods

Method Description
Format ( this buffer, TextSpan span, IHlslOptionsService optionsService ) : void
FormatAfterTyping ( this textView, char ch, IHlslOptionsService optionsService ) : void

Private Methods

Method Description
ApplyEdits ( ITextBuffer textBuffer, IList edits ) : void
ShouldFormatOnCharacter ( char ch, IHlslOptionsService optionsService ) : bool
TryGetSyntaxTree ( ITextBuffer textBuffer, SyntaxTree &syntaxTree ) : bool

Method Details

Format() public static method

public static Format ( this buffer, TextSpan span, IHlslOptionsService optionsService ) : void
buffer this
span TextSpan
optionsService IHlslOptionsService
return void

FormatAfterTyping() public static method

public static FormatAfterTyping ( this textView, char ch, IHlslOptionsService optionsService ) : void
textView this
ch char
optionsService IHlslOptionsService
return void