AuthoringSink.MatchMultiple(TextSpan[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.