Fix for #3683: Hiding package prefixes in sequent view#3684
Fix for #3683: Hiding package prefixes in sequent view#3684WolframPfeifer wants to merge 4 commits intomainfrom
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. |
…efix when saving proofs
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.