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

Highlighting positioning is wrong if additional blanks after initial keyword #75

Open
bio-pepor opened this issue Feb 16, 2022 · 0 comments

Comments

@bio-pepor
Copy link

We have found an issue with the Deveroom extension that results in syntax highlighting of binding parameters to be shifted if there is more than one blank after the initial keyword ("When"/"Then"/"And" etc.).

In the following screenshot, the highlighting of "Ok" is shifted to the left by two characters (highlighting the blank and beginning quotes before the Ok) due to two additional blanks after "And", while the highlighting of "tutorial" is shifted by one character due to one additional blank after "Then":
image

When removing the additional blanks after "And" and "Then", highlighting looks as expected:
image

If we have there is one additional blank after the "And" in the first line (so two in total), the highlighting on "Ok" is shifted by one character:
image

This effect can be observed in all our Gherkin files on all developers' machines. It is also not a new effect - we have seen it for quite some time.

Software info:
Visual Studio 2019, Version 16.11.8
Deveroom for Specflow, Version 1.6.3

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