Repository: vscode
Issue: word wrap is different for left and right sides
Labels: bug,diff-editor,editor-wrapping


Type: <b>Bug</b>

1. Create a file:
    ```
    left
                                  ignoreCase:
                                    description: |-
                                      IgnoreCase specifies that string matching should be case insensitive.
    
    ```
2. Create a file:
    ```
    right
                                  ignoreCase:
                                    description: |-
                                      IgnoreCase specifies that string matching should be case-insensitive.
    
    ```
3. Select the left tab and then shift click to select the right tab

4. Right click a tab 
5. Choose `Compare Selected`
6. Turn on word-wrap

### Actual Results 
![Image](https://github.com/user-attachments/assets/93ae30f6-9684-42d8-afe6-eed7ca26d57e)

(Note that the picture has the files detected as Markdown, but changing them to YAML results in the same behavior as long as word-wrap is turned back on...)

### Expected Results

The wrap column should match for both sides (offhand, I prefer the right side)

### ...

VS Code version: Code 1.94.2 (Universal) (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Darwin arm64 24.0.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M1 Max (10 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|5, 5, 5|
|Memory (System)|64.00GB (0.13GB free)|
|Process Argv|--crash-reporter-id 1fc67ee2-0174-4598-9f98-4537df0dd32c|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (19)</summary>

Extension|Author (truncated)|Version
---|---|---
quitcontrol-vscode|art|4.0.0
asciidoctor-vscode|asc|3.4.2
yamlfmt|blu|0.1.4
vscode-intelephense-client|bme|1.12.6
open-in-macdown|Cod|1.0.0
intelli-php-vscode|DEV|0.12.15062
dhall-lang|dha|0.0.4
vscode-dhall-lsp-server|dha|0.0.4
EditorConfig|Edi|0.16.4
html-preview-vscode|geo|0.2.5
vscode-github-actions|git|0.27.0
vscode-pull-request-github|Git|0.99.2024101604
go|gol|0.42.1
file-downloader|min|1.0.13
sarif-viewer|MS-|3.4.4
vscode-dhall-lsp-server|pan|0.0.4
vscode-xml|red|0.27.1
rst-vscode|tht|3.0.1
simple-rst|tro|1.5.4


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
945dj816:31013170
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31156133
notype1:31157159
5fd0e150:31155592
dwcopilotcf:31162479
icondisabled:31158250

```

</details>

<!-- generated by issue reporter -->