TextStudioMarkupDiagnostics
public static class TextStudioMarkupDiagnosticsAnalyzes authored markup for syntax, registration, compatibility, and parameter problems without rendering it.
Methods
Section titled “Methods”
Analyze(string)
Section titled “Analyze(string)”public static TextStudioDiagnosticReport Analyze(string source)Analyzes markup against the default tag catalog and installed registrations.
Parameters
| Name | Type |
|---|---|
source |
System.String |
Returns
TextStudio.TextStudioDiagnosticReport
Analyze(string, TextStudioTagAnalysisContext)
Section titled “Analyze(string, TextStudioTagAnalysisContext)”public static TextStudioDiagnosticReport Analyze(string source, TextStudioTagAnalysisContext context)Analyzes markup with caller-supplied backend, catalog, and suggestion context.
Parameters
| Name | Type |
|---|---|
source |
System.String |
context |
TextStudio.TextStudioTagAnalysisContext |
Returns
TextStudio.TextStudioDiagnosticReport