IVsIntellisenseHost.HighlightMatchingBrace(UInt32, UInt32, TextSpan[]) 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.
Highlights the matching brace.
public:
int HighlightMatchingBrace(System::UInt32 dwFlags, System::UInt32 cSpans, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ rgBaseSpans);
public:
int HighlightMatchingBrace(unsigned int dwFlags, unsigned int cSpans, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ rgBaseSpans);
int HighlightMatchingBrace(unsigned int dwFlags, unsigned int cSpans, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & rgBaseSpans);
public int HighlightMatchingBrace (uint dwFlags, uint cSpans, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] rgBaseSpans);
abstract member HighlightMatchingBrace : uint32 * uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function HighlightMatchingBrace (dwFlags As UInteger, cSpans As UInteger, rgBaseSpans As TextSpan()) As Integer
Parameters
- dwFlags
- UInt32
[in] Parameter is not used.
- cSpans
- UInt32
[in] Number of matching brace pairs to highlight within the text span.
- rgBaseSpans
- TextSpan[]
[in, size_is(cSpans)] Span of text within which highlighting occurs.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From singlefileeditor.idl:
HRESULT IVsIntellisenseHost::HighlightMatchingBrace([in] DWORD dwFlags, [in] ULONG cSpans, [in, size_is(cSpans)] TextSpan *rgBaseSpans);