Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Fix failing when line changes #35

Open
beyerja opened this issue Oct 3, 2018 · 0 comments
Open

Fix failing when line changes #35

beyerja opened this issue Oct 3, 2018 · 0 comments

Comments

@beyerja
Copy link

beyerja commented Oct 3, 2018

(With linter-spell-latex 0.11.0 in Atom 1.31.1 x63 in Ubuntu 18.04.)

Hi,

I find this package really helpful but it seems to have a bug:
After a spell check is done it underlines words recognized as wrong and when hovering over them with the cursor it shows suggestions. By clicking 'Fix' these can be applied.
However, this does not work correctly when 'Fix' is used after the document was changed in any way.
Apparently the way it works is it remembers the exact position of the word that needs to be corrected - but only at the point of the last spell check!
So when a document is changed after the last spell check and the 'Fix' functionality is used the new word replaces whatever there is now at the old position of the word that should be fixed.

Thanks for your work!

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

No branches or pull requests

1 participant