Skip to content

TextStudioMarkupDiagnostics

ClassTextStudioTextStudio
public static class TextStudioMarkupDiagnostics

Analyzes authored markup for syntax, registration, compatibility, and parameter problems without rendering it.

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