Open RedCMD opened 8 months ago
it seems the viewport position only changes the order in which lines update as you can force the correct (breaking) order without positioning the viewport in any special way
paste this code in a Markdown file
```jsonX
{
"patterns": [
{
"match": "(?x)(?<=((?!)))"
}
]
}
remove the `X` from `jsonX`
notice how none of the brackets have been highlighted 🐛
modify one of the lines inside the codeblock
brackets inside codeblock now highlight ✅
put the `X` back and then remove it again
brackets still work as they should ✅
it seems the update propagation isn't working correctly the first time a language loads
maybe an `await` is missing?
it also happens when a single line takes too long to tokenize
which I come across very often
![image](https://github.com/microsoft/vscode/assets/33529441/671eb0ac-460f-4c32-a393-93972278b617)
vs
![image](https://github.com/microsoft/vscode/assets/33529441/1fb1d887-a07c-40dc-924d-62ce83029304)
it's even worse now in the 1.89 release typing a single letter now no longer updates the entire line anymore it seems to update random parts of the line now
only the center 2 )(
are highlighted
some optimization/bug is stopping the
language-configuration
of embedded languages from loading correctly when part of the embedded language is offscreen during file loadingCreate a markdown file and paste in the following code