Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parse errors and highlight zone #732

Merged
merged 8 commits into from
Feb 16, 2024
Merged

Fix parse errors and highlight zone #732

merged 8 commits into from
Feb 16, 2024

Conversation

rtetley
Copy link
Collaborator

@rtetley rtetley commented Feb 16, 2024

This introduces a fix which handles previously uncaught parse errors and new functions which allow to highlight parts of the file which was unhandled before (comments and such).
Closes #638.
Closes #673.

rtetley and others added 8 commits February 15, 2024 14:28
Created a second function to get ranges for sentences but with the
parsing start loc (which contains the white spaces until the previous
sentence.
Changed the name of items to code_lines (which denote sentences, parse errors and
comments). Made sure the correct API is called in the right areas.
Change of behaviour: the executed range now starts at the end of
the previous sentence.
@rtetley rtetley merged commit a1b0323 into main Feb 16, 2024
16 checks passed
@rtetley rtetley deleted the parse-errors branch March 21, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strange stepping with mathcomp Colorized comments in manual mode
2 participants