Docs · API reference · Verso.Abstractions
HoverInfo Class#
Represents hover tooltip information returned by a kernel's language service.
public sealed record HoverInfo : System.IEquatable<Verso.Abstractions.HoverInfo>
Inheritance System.Object → HoverInfo
Implements System.IEquatable<HoverInfo>
Properties#
Content Property#
The tooltip content (e.g. type signature, documentation summary).
public string Content { get; init; }
Property Value#
MimeType Property#
The MIME type of Content. Defaults to "text/plain".
public string MimeType { get; init; }
Property Value#
Range Property#
An optional span identifying the source range the hover applies to, expressed as (StartLine, StartColumn, EndLine, EndColumn) using zero-based indices.
public System.Nullable<(int StartLine,int StartColumn,int EndLine,int EndColumn)> Range { get; init; }
Property Value#
System.Nullable<<System.Int32,System.Int32,System.Int32,System.Int32>>