renaming the CSS variable names and the labels from interactive editor to inline chat

This commit is contained in:
Aiday Marlen Kyzy
2023-06-08 14:41:41 +02:00
parent 50e4c03fc8
commit 7dafe5df1d
6 changed files with 77 additions and 77 deletions

View File

@@ -182,17 +182,17 @@ class InlineDiffDecorations {
const tracking: IModelDeltaDecoration = {
range: edit.range,
options: {
description: 'interactive-editor-inline-diff',
description: 'inline-chat-inline-diff',
}
};
const decorating: IModelDecorationOptions = {
description: 'interactive-editor-inline-diff',
className: !edit.range.isEmpty() ? 'interactive-editor-lines-inserted-range' : undefined,
description: 'inline-chat-inline-diff',
className: !edit.range.isEmpty() ? 'inline-chat-lines-inserted-range' : undefined,
showIfCollapsed: true,
before: {
content,
inlineClassName: 'interactive-editor-lines-deleted-range-inline',
inlineClassName: 'inline-chat-lines-deleted-range-inline',
attachedData: edit,
}
};
@@ -294,7 +294,7 @@ export class LiveStrategy extends EditModeStrategy {
if (++this._editCount === 1) {
this._editor.pushUndoStop();
}
this._editor.executeEdits('interactive-editor-live', edits, ignoreInlineDiff ? undefined : cursorStateComputerAndInlineDiffCollection);
this._editor.executeEdits('inline-chat-live', edits, ignoreInlineDiff ? undefined : cursorStateComputerAndInlineDiffCollection);
}
override async renderChanges(response: EditResponse) {