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

Replacement position does not change when replacement is applied further left #1724

Open
mfbehrens opened this issue Feb 3, 2021 · 0 comments

Comments

@mfbehrens
Copy link

Hi I think I found a bug.
I am using linter-yalafi which is a linter using yalafi and LanguageTool to check grammar in TeX files. This linter is a lintOnSave-linter since YaLafi is relatively slow.
When you run the linter, and it displays multiple replacements in one line, where the first one is changing the length of the original text, the other replacements are not moved accordingly.

I got some screenshots:

Original situation:
image

Replacing unwerwünschte with unerwünschte
image

Replacing Frequienzen with Frequenzen
image

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