File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/vs/workbench/contrib/chat/browser/chatEditing Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ export class ChatEditingCodeEditorIntegration implements IModifiedFileEntryEdito
339
339
// Note, this is a workaround for the `LineRange.isEmpty()` in diffEntry.original being `false` for newly inserted content
340
340
const isCreatedContent = decorations . length === 1 && decorations [ 0 ] . range . isEmpty ( ) && diffEntry . original . startLineNumber === 1 ;
341
341
342
- if ( ! diffEntry . modified . isEmpty && ! ( isCreatedContent && ( diffEntry . modified . endLineNumberExclusive - 1 ) === editorLineCount ) ) {
342
+ if ( ! diffEntry . modified . isEmpty ) {
343
343
modifiedVisualDecorations . push ( {
344
344
range : diffEntry . modified . toInclusiveRange ( ) ! ,
345
345
options : chatDiffWholeLineAddDecoration
You can’t perform that action at this time.
0 commit comments