miette/src
Paul Colomiets f158f4e370
fix(handlers): Fix label position (#107)
Fixes #106

While fixing the bug I've also extended the handler to print not just
where label starts but also where label ends.

Also implements #97, but for narratabble handler only.

This adds dependency on `unicode-width`, but it was already in the
dependency chain (`textwidth` depends on it). Although, previously it
was only for `"fancy"` feature, now it always required since narratable
handler is supported without `"fancy"`.
2022-01-17 11:07:29 -08:00
..
eyreish docs: fix mentions of eyre and DiagnosticError (#100) 2022-01-07 17:35:48 -08:00
handlers fix(handlers): Fix label position (#107) 2022-01-17 11:07:29 -08:00
chain.rs fix(chain): correct `Chain` structure exported (#102) 2022-01-07 17:34:39 -08:00
error.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
handler.rs fix(colors): treat no-color mode as no-color instead of narratable (#94) 2022-01-08 09:11:19 -08:00
lib.rs fix(api): put panic handler properly behind a flag 2021-09-22 16:34:21 -07:00
named_source.rs feat(handlers): Update graphical handler to use new label protocol (#66) 2021-09-22 16:34:21 -07:00
panic.rs feat(panic): add backtrace support to panic handler and move set_panic_hook into fancy features 2021-09-22 16:34:21 -07:00
protocol.rs feat(SourceSpan): add impl From<Range> (#78) 2021-10-01 12:02:39 -07:00
source_impls.rs fix(read_span): prevent multilines MietteSpanContents from skipping lines (#81) 2021-10-05 21:05:50 -07:00