microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.38k stars 28.94k forks source link

Editor GPU: Render rulers with the webpgu renderer #221211

Closed Tyriar closed 3 weeks ago

Tyriar commented 3 months ago

Parent issue: https://github.com/microsoft/vscode/issues/221145

This is the first view part we'll convert to the GPU. It's a good candidate as it's simple and will help figure out problems with how to work with multiple view parts.

We should consider having a base class that both the DOM and GPU parts extend to avoid duplicating code.

Tyriar commented 1 month ago

This will also fix this bug where rulers disappear sometimes that happens in very large files:

image

I think when I reported it a long time ago it was a bug in the browser engine.