-
Notifications
You must be signed in to change notification settings - Fork 27
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
Proposing a more flexible lexing framework #3537
base: main
Are you sure you want to change the base?
Conversation
There was a branch ( @mattulbrich Should/Does the highlighting respect the current JML active (conditional) tags? |
One thing I could find here: https://git.key-project.org/key/key/-/merge_requests/341 I also found the integrative swing editor with support PSDBG on branch |
The highlighting machinery is the one currently used by the component to display java source code in KeY. |
The editor looks nice from the picture! However, on Friday we were pretty sure that we did not want to integrate an editor into the current swing UI. If an editor ... then as a plugin to whatever VSCode or such with decent feedback into the prover UI. This is really lightweight syntax highlighting for a few bits within KeY. The current solution lacked highlighting for KeY and made the cursor jump annoyingly in the exception recovery dialog. |
If it is inside of the KeY. I see the potential for recognizing errors quickly. For standalone editors, I would say it should be configurable. |
|
Intended Change
The syntax highlighting framework in the issue dialog makes the cursor jump around a lot. It does not support KeY files for the moment.
Plan
The code is there can be reused from other places.
Type of pull request
Ensuring quality
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.