Skip to content

support recoveries - #107

Merged
georghinkel merged 1 commit into
mainfrom
anytext-recovery
Sep 15, 2025
Merged

support recoveries#107
georghinkel merged 1 commit into
mainfrom
anytext-recovery

Conversation

@georghinkel

Copy link
Copy Markdown
Contributor

With this change, AnyText detects if a sequence ends with a literal and uses this as a stop token to recover parse errors: if not all text can be parsed, AnyText checks whether the parsing can be resumed from the position of the next-most stop token in order to provide syntax highlighting for such cases.

@georghinkel
georghinkel merged commit 78295a6 into main Sep 15, 2025
1 check passed
@georghinkel
georghinkel deleted the anytext-recovery branch September 25, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant