Skip to content

MarkdownView.replaceScope method

MarkdownView › replaceScope

Unofficial

Replaces the active scope, falling back to the initial scope when null is given.

Signature:

replaceScope(scope: Scope | null): void

Parameters:

Parameter Type Description
scope Scope | null The scope to set, or null to restore the initial scope.

Returns: void