derickr / vld

BSD 2-Clause "Simplified" License
464 stars 87 forks source link

When the code line is over 10000, the lineno column is not shown correctly #61

Closed jimmyleeeeee closed 4 years ago

jimmyleeeeee commented 4 years ago

When there is over 10000 lines code in a source code file, the column of lineno is not aligned. For the lineno less than 10000, it occupy only 4 bytes; for the lineno greater or equal 10000, it occupy 5 bytes. The column is aligned.

jimmyleeeeee commented 4 years ago

@derick I have fixed this issue, please review the pull request and check whether the code is OK to merged to master branch. Please review https://github.com/derickr/vld/pull/60/commits/4328ee0685049588fed91d0342c9944b1f929bc9

derickr commented 4 years ago

I had merged this on April 14th already, but I had forgotten to push my changes to GitHub. Should be there now, and thanks!

jimmyleeeeee commented 4 years ago

It is OK now. Thanks.