Registers all widget-related RPC procedures.
- msg : Server.WithRpcRef MessageData
- indent : Nat
Instances For
Instances For
The information that the infoview uses to render a popup for when the user hovers over an expression.
- type : Option CodeWithInfos
- exprExplicit : Option CodeWithInfos
Show the term with the implicit arguments.
Docstring. In markdown.
Instances For
Equations
Equations
Instances For
Equations
- Lean.Widget.instRpcEncodableInfoPopup = { rpcEncode := Lean.Widget.instRpcEncodableInfoPopup.enc✝, rpcDecode := Lean.Widget.instRpcEncodableInfoPopup.dec✝ }
Given elaborator info for a particular subexpression. Produce the InfoPopup.
The intended usage of this is for the infoview to pass the InfoWithCtx which
was stored for a particular SubexprInfo tag in a TaggedText generated with ppExprTagged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- lineRange? : Option Lsp.LineRange
Return diagnostics for these lines only if present, otherwise return all diagnostics.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- kind : Server.GoToKind
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
- subexpr (info : SubexprInfo) : HighlightedSubexprInfo
- highlighted : HighlightedSubexprInfo
Instances For
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
Equations
Instances For
- expr : HighlightedCodeWithInfos → HighlightedMsgEmbed
- goal : InteractiveGoal → HighlightedMsgEmbed
- widget (wi : WidgetInstance) (alt : TaggedText HighlightedMsgEmbed) : HighlightedMsgEmbed
- trace (indent : Nat) (cls : Name) (msg : TaggedText HighlightedMsgEmbed) (collapsed : Bool) (children : StrictOrLazy (Array (TaggedText HighlightedMsgEmbed)) (Server.WithRpcRef LazyTraceChildren)) : HighlightedMsgEmbed
- highlighted : HighlightedMsgEmbed
Instances For
@[reducible, inline]
Equations
Instances For
- query : String
- msg : InteractiveMessage
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Widget.highlightMatches params = (do let r ← liftM (Lean.Widget.highlightMatchesAux✝ params.query params.msg) pure (Lean.Widget.Highlighted.msg✝ r)).pureTask