add SnippetTextEdit, allow drop-handler to return them

This commit is contained in:
Johannes
2022-03-30 12:06:01 +02:00
parent a3e739fee9
commit bd71718372
10 changed files with 83 additions and 9 deletions

View File

@@ -1324,7 +1324,7 @@ export interface ISelectionChangeEvent {
export interface ExtHostEditorsShape {
$acceptEditorPropertiesChanged(id: string, props: IEditorPropertiesChangeData): void;
$acceptEditorPositionData(data: ITextEditorPositionData): void;
$textEditorHandleDrop(id: string, position: IPosition, dataTransferDto: DataTransferDTO): Promise<void>;
$textEditorHandleDrop(id: string, position: IPosition, dataTransferDto: DataTransferDTO): Promise<Dto<languages.SnippetTextEdit[]>>;
}
export interface IDocumentsAndEditorsDelta {