-
Notifications
You must be signed in to change notification settings - Fork 41
Fix for #3683: Hiding package prefixes in sequent view #3684
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
base: main
Are you sure you want to change the base?
Conversation
|
@FliegendeWurst: Can you try to use that "in production" and see if there are missing cases where the prefix is still shown? I only tried on a very small example. |
|
I tried this PR on a bigger example (proof of an accessible clause) and it works well. |
|
Actually, there is one case where this change still shows the full package prefix: typed |
|
Actually, this change causes a rather serious regression in proof saving: #3691 |
From the meeting just now: This seems to happen for the sort when printing SortDependingFunctions. |
|
I think, #3691 is a bug/problem that was already present before, but became visible with the changes here. |
Quick fix: Hiding package prefixes in sequent view now works as expected. In addition, highlighting for the SortDependingFunction
instanceis added as forexactInstance.Explanation: I noticed that while the code for hiding the prefixes was (partially) implemented, the view setting was never queried in the printer. I made the printer respect the setting, and added a missing case.
Known issues/missing features:
pkg1.Aandpkg2.Aboth appear on the sequent, they are not visually distinguishable. This would probably be difficult to implement ...Related Issue
This pull request resolves #3683.
Type of pull request
Ensuring quality
Additional information and contact(s)
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.