rust/tests/ui/codemap_tests
Esteban Küber f1c751bc1a Refactor emitter to better account for unicode chars when trimming
Change the way that underline positions are calculated by delaying using
the "visual" column position until the last possible moment, instead
using the "file"/byte position in the file, and then calculating visual
positioning as late as possible. This should make the underlines more
resilient to non-1-width unicode chars.

Unfortunately, as part of this change (which fixes some visual bugs)
comes with the loss of some eager tab codepoint handling, but the output
remains legible despite some minor regression on the "margin trimming"
logic.
2025-03-07 17:55:08 +00:00
..
bad-format-args.rs
bad-format-args.stderr
coherence-overlapping-inherent-impl-trait.rs
coherence-overlapping-inherent-impl-trait.stderr
empty_span.rs
empty_span.stderr
huge_multispan_highlight.ascii.svg Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
huge_multispan_highlight.rs Don't allow -Zunstable-options to take a value 2024-11-18 18:04:59 +11:00
huge_multispan_highlight.unicode.svg Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
issue-11715.rs
issue-11715.stderr
issue-28308.rs
issue-28308.stderr
one_line.rs
one_line.stderr
overlapping_inherent_impls.rs
overlapping_inherent_impls.stderr
tab.rs
tab.stderr
tab_2.rs
tab_2.stderr Refactor emitter to better account for unicode chars when trimming 2025-03-07 17:55:08 +00:00
tab_3.rs
tab_3.stderr
two_files.rs
two_files.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
two_files_data.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unicode.expanded.stdout [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unicode.normal.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
unicode.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unicode_2.rs
unicode_2.stderr
unicode_3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unicode_3.stderr