octohint
octohint copied to clipboard
token with tab indent file cannot be matched properly
i'm talking about golang that use tab officially
an example: https://github.com/go-playground/validator/blob/v9/_examples/simple/main.go
screenshot for https://github.com/go-playground/validator/blob/v9/benchmarks_test.go
match "testing":

match "1" (not sure):

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

match "validate":

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
Thanks for your screenshots! I'll take a look at it ASAP

another screenie, but it's vue with tab indentation
https://github.com/JustArchiNET/ASF-ui/blob/master/src/views/modals/BotConfiguration.vue

but also with any wide characters? i doubt RTL languages will work
https://github.com/mrdoob/three.js/blob/93e72ba7b24958ddb0652bd33171edd14ed2d693/examples/webgl_geometry_hierarchy.html#L101-L119
And this