дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-27 13:06:07 +02:00
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