mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 01:20:59 +00:00
Previously, whenever Editor::set_document() was called, we destroyed
the previous LanguageClient instance of the editor and created a new
one.
We now check if the language of the existing LanguageClient matches the
new document, and if so we do not create a new LanguageClient instance.
This fixes an issue where doing "goto definition" would crash
HackStudio. This was probably introduced in
|
||
|---|---|---|
| .. | ||
| HackStudio | ||
| Inspector | ||
| IPCCompiler | ||
| Playground | ||
| Profiler | ||
| StateMachineGenerator | ||
| UserspaceEmulator | ||
| CMakeLists.txt | ||