lean4-htt/src/Lean/Widget
Kyle Miller c46f1e941c
fix: sorry in Infoview shouldn't show module name (#7813)
This PR fixes an issue where `let n : Nat := sorry` in the Infoview
pretty prints as ``n : ℕ := sorry `«Foo:17:17»``. This was caused by
top-level expressions being pretty printed with the same rules as
Infoview hovers. Closes #6715. Refactors `Lean.Widget.ppExprTagged`; now
it takes a delaborator, and downstream users should configure their own
pretty printer option overrides if necessary if they used the `explicit`
argument (see `Lean.Widget.makePopup.ppExprForPopup` for an example).
Breaking change: `ppExprTagged` does not set `pp.proofs` on the root
expression.
2025-04-10 21:47:07 +00:00
..
Basic.lean chore: add missing copyright headers (#3411) 2024-02-20 01:49:55 +00:00
Diff.lean chore: remove the coercion from String to Name (#3589) 2024-03-21 23:46:03 +00:00
InteractiveCode.lean fix: sorry in Infoview shouldn't show module name (#7813) 2025-04-10 21:47:07 +00:00
InteractiveDiagnostic.lean feat: 'unknown identifier' code actions (#7665) 2025-04-02 09:43:40 +00:00
InteractiveGoal.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
TaggedText.lean chore: rename Array.back to back! (#5897) 2024-10-31 09:18:18 +00:00
Types.lean feat: make TryThis work in widget messages (#7610) 2025-04-08 16:01:03 +00:00
UserWidget.lean feat: make TryThis work in widget messages (#7610) 2025-04-08 16:01:03 +00:00