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

token with tab indent file cannot be matched properly #27

Open
deluxghost opened this issue Mar 4, 2019 · 5 comments
Open

token with tab indent file cannot be matched properly #27

deluxghost opened this issue Mar 4, 2019 · 5 comments
Labels

Comments

@deluxghost
Copy link

i'm talking about golang that use tab officially

an example: https://github.com/go-playground/validator/blob/v9/_examples/simple/main.go

@pd4d10 pd4d10 added the bug label Mar 5, 2019
@deluxghost
Copy link
Author

deluxghost commented Mar 6, 2019

screenshot for https://github.com/go-playground/validator/blob/v9/benchmarks_test.go

match "testing":
2019-03-06 11 20 05

match "1" (not sure):
2019-03-06 11 23 01

screenshot for https://github.com/go-playground/validator/blob/v9/_examples/simple/main.go

match "required":
2019-03-06 11 23 34

match "validate":
2019-03-06 11 23 59

i can't always reproduce the bug either. when i open these pages first, it seems everything is ok, but after several refreshing and randomly token clicking, something like the screenshots happened

@pd4d10
Copy link
Owner

pd4d10 commented Mar 6, 2019

Thanks for your screenshots! I'll take a look at it ASAP

@deluxghost deluxghost changed the title token in non-js file with tab indent cannot be matched properly token with tab indent file cannot be matched properly Mar 8, 2019
@deluxghost
Copy link
Author

2019-03-08 2 36 11

another screenie, but it's vue with tab indentation

https://github.com/JustArchiNET/ASF-ui/blob/master/src/views/modals/BotConfiguration.vue

@deluxghost
Copy link
Author

image

but also with any wide characters? i doubt RTL languages will work

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

No branches or pull requests

3 participants