mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
deploy: f86fe93775
This commit is contained in:
parent
7d6e9bc8c2
commit
e6a4254a44
1368 changed files with 27536 additions and 24271 deletions
37
node_modules/monaco-editor-core/monaco.d.ts
generated
vendored
37
node_modules/monaco-editor-core/monaco.d.ts
generated
vendored
|
|
@ -875,10 +875,10 @@ declare namespace monaco {
|
|||
}
|
||||
|
||||
export class Token {
|
||||
_tokenBrand: void;
|
||||
readonly offset: number;
|
||||
readonly type: string;
|
||||
readonly language: string;
|
||||
_tokenBrand: void;
|
||||
constructor(offset: number, type: string, language: string);
|
||||
toString(): string;
|
||||
}
|
||||
|
|
@ -3666,6 +3666,10 @@ declare namespace monaco.editor {
|
|||
* When enabled, this shows a preview of the drop location and triggers an `onDropIntoEditor` event.
|
||||
*/
|
||||
dropIntoEditor?: IDropIntoEditorOptions;
|
||||
/**
|
||||
* Controls whether the editor receives tabs or defers them to the workbench for navigation.
|
||||
*/
|
||||
tabFocusMode?: boolean;
|
||||
}
|
||||
|
||||
export interface IDiffEditorBaseOptions {
|
||||
|
|
@ -4991,14 +4995,22 @@ declare namespace monaco.editor {
|
|||
*/
|
||||
export interface IContentWidgetPosition {
|
||||
/**
|
||||
* Desired position for the content widget.
|
||||
* `preference` will also affect the placement.
|
||||
* Desired position which serves as an anchor for placing the content widget.
|
||||
* The widget will be placed above, at, or below the specified position, based on the
|
||||
* provided preference. The widget will always touch this position.
|
||||
*
|
||||
* Given sufficient horizontal space, the widget will be placed to the right of the
|
||||
* passed in position. This can be tweaked by providing a `secondaryPosition`.
|
||||
*
|
||||
* @see preference
|
||||
* @see secondaryPosition
|
||||
*/
|
||||
position: IPosition | null;
|
||||
/**
|
||||
* Optionally, a secondary position can be provided to further
|
||||
* define the position of the content widget. The secondary position
|
||||
* must have the same line number as the primary position.
|
||||
* Optionally, a secondary position can be provided to further define the placing of
|
||||
* the content widget. The secondary position must have the same line number as the
|
||||
* primary position. If possible, the widget will be placed such that it also touches
|
||||
* the secondary position.
|
||||
*/
|
||||
secondaryPosition?: IPosition | null;
|
||||
/**
|
||||
|
|
@ -5604,7 +5616,8 @@ declare namespace monaco.editor {
|
|||
getDecorationsInRange(range: Range): IModelDecoration[] | null;
|
||||
/**
|
||||
* All decorations added through this call will get the ownerId of this editor.
|
||||
* @deprecated
|
||||
* @deprecated Use `createDecorationsCollection`
|
||||
* @see createDecorationsCollection
|
||||
*/
|
||||
deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[];
|
||||
/**
|
||||
|
|
@ -6733,6 +6746,10 @@ declare namespace monaco.languages {
|
|||
* Will be called when an item is shown.
|
||||
*/
|
||||
handleItemDidShow?(completions: T, item: T['items'][number]): void;
|
||||
/**
|
||||
* Will be called when an item is partially accepted.
|
||||
*/
|
||||
handlePartialAccept?(completions: T, item: T['items'][number], acceptedCharacters: number): void;
|
||||
/**
|
||||
* Will be called when a completions list is no longer in use and can be garbage-collected.
|
||||
*/
|
||||
|
|
@ -7309,6 +7326,12 @@ declare namespace monaco.languages {
|
|||
* The value of the kind is 'region'.
|
||||
*/
|
||||
static readonly Region: FoldingRangeKind;
|
||||
/**
|
||||
* Returns a {@link FoldingRangeKind} for the given value.
|
||||
*
|
||||
* @param value of the kind.
|
||||
*/
|
||||
static fromValue(value: string): FoldingRangeKind;
|
||||
/**
|
||||
* Creates a new {@link FoldingRangeKind}.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue