Skip to content

Commit

Permalink
feat(autoedit): fix cursor jumping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-1997 committed Nov 19, 2024
1 parent 53592fb commit 529b387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vscode/src/autoedits/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ export class AutoEditsRenderer implements vscode.Disposable {
'\u00A0'.repeat(3) +
_replaceLeadingTrailingChars(decoration.lineText, ' ', '\u00A0'),
margin: `0 0 0 ${replacerCol - line.range.end.character}ch`,
textDecoration: 'none; position: absolute;',
},
},
})
Expand All @@ -445,6 +446,7 @@ export class AutoEditsRenderer implements vscode.Disposable {
contentText:
'\u00A0' +
_replaceLeadingTrailingChars(decoration.lineText, ' ', '\u00A0'),
textDecoration: 'none; position: absolute;',
},
},
})
Expand Down

0 comments on commit 529b387

Please sign in to comment.