pd4d10 / octohint

The missing IntelliSense hint for GitHub and GitLab
https://chrome.google.com/webstore/detail/octohint/hbkpjkfdheainjkkebeoofkpgddnnbpk
MIT License
962 stars 35 forks source link

Highlight position wrong if code is written with tabs #19

Closed hendrysadrak closed 6 years ago

hendrysadrak commented 6 years ago

On the following image i have highlit MAX_INT32. As you can see the highlight is shifted a bit left of where it should be.

File: https://github.com/sindresorhus/park-miller/blob/master/index.js

image

Chrome Version 65.0.3315.3 (Official Build) dev (64-bit) MacOS 10.13.3 Display pixelRatio 2

hendrysadrak commented 6 years ago

And in this image i have highlit this

image

pd4d10 commented 6 years ago

@hendrysadrak Thanks for you report!

It has been already fixed at https://github.com/pd4d10/octohint/commit/177900656fc780555a633ab66f5cd251a4991cc1. I'll publish a new version ASAP.

pd4d10 commented 6 years ago

Fixed at v2.0.2