You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to print a Syntax with Console, it skips the empty lines in the beginning. Not sure if it's on purpose, but it messed up with the line numbers, which I think is bad. Take the following code as an example:
It will show line number 1 for a=3, which is incorrect. This is especially annoying when you try to display source code from a certain line number and that line happens to be empty.
I'm running this on WSL, but I would guess this should be easily reproducible on any platform.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I try to print a Syntax with Console, it skips the empty lines in the beginning. Not sure if it's on purpose, but it messed up with the line numbers, which I think is bad. Take the following code as an example:
It will show line number
1
fora=3
, which is incorrect. This is especially annoying when you try to display source code from a certain line number and that line happens to be empty.I'm running this on WSL, but I would guess this should be easily reproducible on any platform.
The text was updated successfully, but these errors were encountered: