Fixes #59846: Clarify that documents get their end-of-line-sequences normalized
This commit is contained in:
parent
06fe5c4f8b
commit
94e2018c5d
1 changed files with 3 additions and 0 deletions
3
src/vs/vscode.d.ts
vendored
3
src/vs/vscode.d.ts
vendored
|
@ -1546,6 +1546,9 @@ declare module 'vscode' {
|
|||
* [document](#TextDocument). Resources allocated should be released when
|
||||
* the corresponding document has been [closed](#workspace.onDidCloseTextDocument).
|
||||
*
|
||||
* **Note**: The contents of the created [document](#TextDocument) might not be
|
||||
* identical to the provided text due to end-of-line-sequence normalization.
|
||||
*
|
||||
* @param uri An uri which scheme matches the scheme this provider was [registered](#workspace.registerTextDocumentContentProvider) for.
|
||||
* @param token A cancellation token.
|
||||
* @return A string or a thenable that resolves to such.
|
||||
|
|
Loading…
Reference in a new issue