- Do not send replace content from ext host

- implement replaceAll in the model
- cancel all model update operations on replace request
- queue append operation after replace
- clean ups
This commit is contained in:
Sandeep Somavarapu
2021-11-06 13:46:18 +01:00
parent e034d59a8e
commit 3afa5c6420
4 changed files with 186 additions and 229 deletions

View File

@@ -447,7 +447,7 @@ export interface MainThreadOutputServiceShape extends IDisposable {
$append(channelId: string, value: string): Promise<void> | undefined;
$update(channelId: string): Promise<void> | undefined;
$clear(channelId: string, till: number): Promise<void> | undefined;
$replaceAll(channelId: string, till: number, value: string): Promise<void> | undefined;
$replaceAll(channelId: string, till: number, value?: string): Promise<void> | undefined;
$reveal(channelId: string, preserveFocus: boolean): Promise<void> | undefined;
$close(channelId: string): Promise<void> | undefined;
$dispose(channelId: string): Promise<void> | undefined;