mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
TextEditorDiffInformation API proposal (#233896)
* WIP - initial implementation * Introduce the diff model service * Remove code that is not needed * Handle DiffEditor * Performance optimization * Refactor code * More cleanup (V1) * More cleanup (V2) * More cleanup (V2.1) * Pull request feedback * Remove debugging statements * Update mock proxy to fix tests * Add proposed api check
This commit is contained in:
@@ -723,6 +723,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
onDidChangeTextEditorViewColumn(listener, thisArg?, disposables?) {
|
||||
return _asExtensionEvent(extHostEditors.onDidChangeTextEditorViewColumn)(listener, thisArg, disposables);
|
||||
},
|
||||
onDidChangeTextEditorDiffInformation(listener, thisArg?, disposables?) {
|
||||
checkProposedApiEnabled(extension, 'textEditorDiffInformation');
|
||||
return _asExtensionEvent(extHostEditors.onDidChangeTextEditorDiffInformation)(listener, thisArg, disposables);
|
||||
},
|
||||
onDidCloseTerminal(listener, thisArg?, disposables?) {
|
||||
return _asExtensionEvent(extHostTerminalService.onDidCloseTerminal)(listener, thisArg, disposables);
|
||||
},
|
||||
@@ -1661,6 +1665,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
TextEdit: extHostTypes.TextEdit,
|
||||
SnippetTextEdit: extHostTypes.SnippetTextEdit,
|
||||
TextEditorCursorStyle: TextEditorCursorStyle,
|
||||
TextEditorDiffKind: extHostTypes.TextEditorDiffKind,
|
||||
TextEditorLineNumbersStyle: extHostTypes.TextEditorLineNumbersStyle,
|
||||
TextEditorRevealType: extHostTypes.TextEditorRevealType,
|
||||
TextEditorSelectionChangeKind: extHostTypes.TextEditorSelectionChangeKind,
|
||||
|
||||
Reference in New Issue
Block a user