C# Class ReSharper.NTriples.Feature.Services.MatchingBrace.CSharpMatchingBraceContextHighlighter

Inheritance: MatchingBraceContextHighlighterBase
Exibir arquivo Open project: xsburg/ReSharper.NTriples

Protected Methods

Method Description
IsLeftBracket ( TokenNodeType tokenType ) : bool
IsRightBracket ( TokenNodeType tokenType ) : bool
Match ( TokenNodeType token1, TokenNodeType token2 ) : bool
TryHighlightToLeft ( MatchingHighlightingsConsumer consumer, ITokenNode selectedToken, TreeOffset treeOffset ) : void
TryHighlightToRight ( MatchingHighlightingsConsumer consumer, ITokenNode selectedToken, TreeOffset treeOffset ) : void

Private Methods

Method Description
GetHintText ( ITextControl textControl, ITreeNode lBraceNode ) : RichTextBlock
ProcessDataContext ( Lifetime lifetime, [ dataProvider, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester ) : System.Action

Method Details

IsLeftBracket() protected method

protected IsLeftBracket ( TokenNodeType tokenType ) : bool
tokenType TokenNodeType
return bool

IsRightBracket() protected method

protected IsRightBracket ( TokenNodeType tokenType ) : bool
tokenType TokenNodeType
return bool

Match() protected method

protected Match ( TokenNodeType token1, TokenNodeType token2 ) : bool
token1 TokenNodeType
token2 TokenNodeType
return bool

TryHighlightToLeft() protected method

protected TryHighlightToLeft ( MatchingHighlightingsConsumer consumer, ITokenNode selectedToken, TreeOffset treeOffset ) : void
consumer MatchingHighlightingsConsumer
selectedToken ITokenNode
treeOffset TreeOffset
return void

TryHighlightToRight() protected method

protected TryHighlightToRight ( MatchingHighlightingsConsumer consumer, ITokenNode selectedToken, TreeOffset treeOffset ) : void
consumer MatchingHighlightingsConsumer
selectedToken ITokenNode
treeOffset TreeOffset
return void