Switch spaces in .MAP file to tabs (\t) instead #1012
Closed
sukus21
started this conversation in
Discussions
Replies: 1 comment 1 reply
-
The problem with tabs is that they have inconsistent width (2, 4, and 8 are the most common) and so tend to create unaligned columns. (Note: using tabs for indentation is fine, but not for alignment.) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Opening the .map files generated by RGBLINK in a code editor can look off for some (me included). The cause of this is the indentation is done with spaces instead of tabs (\t). This would be a simple fix, and would personally benefit me greatly :)
If there's a specific reason it's like this, please enlighten me, I would love to know!
I have links to the relevant sections of code in link/output.c below here
rgbds/src/link/output.c
Lines 387 to 395 in f3f2c2c
rgbds/src/link/output.c
Lines 399 to 407 in f3f2c2c
rgbds/src/link/output.c
Line 414 in f3f2c2c
rgbds/src/link/output.c
Lines 418 to 419 in f3f2c2c
Beta Was this translation helpful? Give feedback.
All reactions