Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion underline hats are off by a few characters #1

Closed
drahnr opened this issue May 28, 2020 · 1 comment
Closed

Suggestion underline hats are off by a few characters #1

drahnr opened this issue May 28, 2020 · 1 comment

Comments

@drahnr
Copy link
Owner

drahnr commented May 28, 2020

Most of the time it's accurate, sometimes it is not:

error: spellcheck(Hunspell)
   --> /media/supersonic1t/projects/cargo-spellcheck/src/suggestion.rs:58
    |
 58 |  The span (absolute!) of where it is supposed to be used. TODO make this relative towards the literal.
    |                                                               ^^^^
    | - TOO, DODO, TO DO, TO-DO, TOD, TOTO, TODD, or one of 3 others
    |
    |   Possible spelling mistake found.
error: spellcheck(Hunspell)
    --> /media/supersonic1t/projects/cargo-spellcheck/src/literalset.rs:293
     |
 293 |  Convert a range of the linear trimmed (but no other processing) string represnetation to a set of
     |                                                                             ^^^^^^^^^^^^^^
     | - representation, reinterpretation, presentation, representative, or interpretation
     |
     |   Possible spelling mistake found.
     |
@drahnr drahnr changed the title Error underline hats are off by a few characters Suggestion underline hats are off by a few characters May 28, 2020
drahnr added a commit that referenced this issue May 28, 2020
Also reproduces issue #1 .
@drahnr
Copy link
Owner Author

drahnr commented Jun 3, 2020

The latter case is tracked as #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant