A diagnostic inline range in display coordinates.
The GUI renders these as underlines (wavy for errors, straight for warnings, etc.) beneath the affected text. Severity determines the underline style and color.
Summary
Functions
Converts diagnostics to display-coordinate ranges for visible lines.
Types
@type t() :: %MingaEditor.SemanticWindow.DiagnosticRange{ end_col: non_neg_integer(), end_row: non_neg_integer(), severity: Minga.Diagnostics.Diagnostic.severity(), start_col: non_neg_integer(), start_row: non_neg_integer() }
Functions
@spec from_diagnostics( [Minga.Diagnostics.Diagnostic.t()], non_neg_integer(), non_neg_integer() ) :: [t()]
Converts diagnostics to display-coordinate ranges for visible lines.