API Browser

Method

WithText

func WithText(newText: SourceText) -> Document

Declaring type: Document
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Document.cs

Creates a new document with updated text using the owning solution.

Parameters

Name Type Description
newText SourceText

Return value

Document