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

Multi line comments and strings break when you modify a line in the middle #1

Open
alexispurslane opened this issue Mar 22, 2023 · 0 comments

Comments

@alexispurslane
Copy link
Collaborator

This can be solved using the font lock region extender hook, the issue is figuring out how to do this efficiently. If it applies even when we're not in a string, things can get extremely slow extremely quickly, bc then it'd extend the region to the end of the last string and beginning of the next, so we somehow need a way to identify lines that are inside a string even if they have no quotes in them, and only extend the region then. I intend to consult existing emacs modes for ideas on this front.

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

No branches or pull requests

1 participant