MarkdownDocument.SetText

Assigns text to the CurrentText and OriginalText properties so that the value is properly assigned for initial use from newly loaded content by clearing out stale state.

public void SetText(string markdownOrCode)

Parameters

markdownOrCode