4 ms·
You think that's bad: https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h#L182 https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h... Scroll
by rileyteige 12y ago
You think that's bad:
https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h#L182 https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h...
Scroll down and watch the readability disappear.
- benhoyt 12y agoDoes this fix it? https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h?ts=4#L182 https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h...
- laumars 12y agoappend ?ts=4 to the URL to change GitHubs default 8 character tab to 4 characters wide.
- Bahamut 12y agoIs that really a GitHub thing? When I view diffs in the command line with Git, it always shows tabs as 8 spaces too.
- laumars 12y ago8 spaces tends to be the de facto standard tab width. But because tab is it's own ASCII character (0x09), much like how space (0x20) and the lower case letter 'a' (0x61) are, it means it's up to whatever text processors used (eg diff, vim, GitHub web application, etc) to interpret a tab character by whatever width they choose. Which is why tab spaces are a per-application setting, eg: diff --tabsize=4 ... vim "+set tabstop=4" ... http://github.com/.../file?ts=4