Файли
openidea/src
l0ng-ai f9b22cdc91 fix(editor): keep syntax highlighting after reformatting JavaScript
Re-parsing after an edit could reuse a whole doc comment as one node. The
parser then moved its reduce position past the comment, so the declaration
before it grew to swallow the comment and the rest of the file, and the tree
lost every node in view: highlighting disappeared until the next edit.
Reformatting a file with long doc comments hit it reliably.

Patch @lezer/lr so a reused skipped node leaves the reduce position alone and
is moved out of the node being reduced, like a shifted skipped token.

Fixes #4468
2026-11-20 21:50:16 +08:00
..
2026-10-22 18:55:10 +08:00