mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
pass and check model version when calling insertSnippet, https://github.com/microsoft/vscode/issues/145727
This commit is contained in:
@@ -252,7 +252,7 @@ export interface MainThreadTextEditorsShape extends IDisposable {
|
||||
$tryRevealRange(id: string, range: IRange, revealType: TextEditorRevealType): Promise<void>;
|
||||
$trySetSelections(id: string, selections: ISelection[]): Promise<void>;
|
||||
$tryApplyEdits(id: string, modelVersionId: number, edits: ISingleEditOperation[], opts: IApplyEditsOptions): Promise<boolean>;
|
||||
$tryInsertSnippet(id: string, template: string, selections: readonly IRange[], opts: IUndoStopOptions): Promise<boolean>;
|
||||
$tryInsertSnippet(id: string, modelVersionId: number, template: string, selections: readonly IRange[], opts: IUndoStopOptions): Promise<boolean>;
|
||||
$getDiffInformation(id: string): Promise<ILineChange[]>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user