Partager via


AuthoringSink.MatchMultiple(TextSpan[], Int32) Method

Definition

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.

public:
 virtual void MatchMultiple(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ spans, int priority);
public:
 virtual void MatchMultiple(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ spans, int priority);
 virtual void MatchMultiple(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & spans, int priority);
public virtual void MatchMultiple (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] spans, int priority);
abstract member MatchMultiple : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * int -> unit
override this.MatchMultiple : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * int -> unit
Public Overridable Sub MatchMultiple (spans As TextSpan(), priority As Integer)

Parameters

spans
TextSpan[]

The array of text spans.

priority
Int32

The priority of the match.

Applies to