AuthoringSink::MatchMultiple Method (array<TextSpan>^, Int32)

 

Matching multiples are used to highlight in bold a completed statement. For example, a language can define a construct like if ... elif ... elif ... else ... endif. A priority can also be given so that multiple overlapping pairs can be prioritized for brace matching. The matching pair with the highest priority (largest integer value) wins.

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

public:
virtual void MatchMultiple(
	array<TextSpan>^ spans,
	int priority
)

Parameters

spans
Type: array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^

The array of text spans.

priority
Type: System::Int32

The priority of the match.

Return to top
Show: