Word wrap doesn't work for GPT Edit

I’m on MacOS and facing an issue when Word Wrap is on (View → Word Wrap).

When using GPT to Edit a piece of text, the AI-generated text in green is displayed over multiple lines (as expected), but the original text in red is displayed on a single line and isn’t wrapped.

Here’s a video clip of it: https://i.imgur.com/afJZao1.mp4

My system specs:

Version: 0.12.3
VSCode Version: 1.80.1
Commit: 3c1a98b47d7c2e903562d2b756fc9cafe4915fb0
Date: 2023-10-08T22:51:40.884Z (2 days ago)
Electron: 22.3.10
Chromium: 108.0.5359.215
Node.js: 16.17.1
OS: Darwin arm64 22.2.0

Was able to reproduce this. Noted! Thank you for your bug report!

This was fixed in 0.14.0.

1 Like