update monaco.d.ts

This commit is contained in:
Alex Dima 2021-11-26 10:13:08 +01:00
parent eca6f7ed24
commit 1a3dce1b0c
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9

7
src/vs/monaco.d.ts vendored
View file

@ -1807,7 +1807,7 @@ declare namespace monaco.editor {
*/ */
getLineLastNonWhitespaceColumn(lineNumber: number): number; getLineLastNonWhitespaceColumn(lineNumber: number): number;
/** /**
* Create a valid position, * Create a valid position.
*/ */
validatePosition(position: IPosition): Position; validatePosition(position: IPosition): Position;
/** /**
@ -1842,7 +1842,7 @@ declare namespace monaco.editor {
*/ */
getPositionAt(offset: number): Position; getPositionAt(offset: number): Position;
/** /**
* Get a range covering the entire model * Get a range covering the entire model.
*/ */
getFullModelRange(): Range; getFullModelRange(): Range;
/** /**
@ -5898,11 +5898,10 @@ declare namespace monaco.languages {
/** /**
* A string or snippet that should be inserted in a document when selecting * A string or snippet that should be inserted in a document when selecting
* this completion. * this completion.
* is used.
*/ */
insertText: string; insertText: string;
/** /**
* Addition rules (as bitmask) that should be applied when inserting * Additional rules (as bitmask) that should be applied when inserting
* this completion. * this completion.
*/ */
insertTextRules?: CompletionItemInsertTextRule; insertTextRules?: CompletionItemInsertTextRule;