AuthoringSink::BraceMatching Property

 

Indicates if brace matching should be done for a parse operation.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool BraceMatching {
	bool get();
}

Property Value

Type: System::Boolean

Returns true if brace matching is to be done; otherwise, returns false (no brace matching allowed).

This property is queried by the parser to determine if it should deal with brace matching in this particular execution and if so, store matching braces with a call to MatchPair. This property examines the ParseReason and returns true if it is MatchBraces, HighlightBraces, or MemberSelectAndHighlightBraces.

Return to top
Show: