Skip to content

fix(core): retokenize every line after grammar changes - #1052

Merged
sebthom merged 1 commit into
eclipse-tm4e:mainfrom
sebthom:tokenize
Sep 17, 2026
Merged

sebthom merged 1 commit into
eclipse-tm4e:mainfrom
sebthom:tokenize

Conversation

@sebthom

@sebthom sebthom commented Sep 17, 2026

Copy link
Copy Markdown
Member

Previously, changing grammars invalidated only the first line. If the new grammar produced an equal parser state, later lines kept tokens from the old grammar and displayed stale syntax highlighting.

Previously, changing grammars invalidated only the first line.
If the new grammar produced an equal parser state, later lines kept
tokens from the old grammar and displayed stale syntax highlighting.
@github-actions github-actions Bot added the bug label Sep 17, 2026
@sebthom
sebthom merged commit aaae820 into eclipse-tm4e:main Sep 17, 2026
21 checks passed
@sebthom
sebthom deleted the tokenize branch September 18, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant