Closed JasonBarnabe closed 10 years ago
CodeRay converts tabs into spaces; I would prefer it not do that. I would like to keep things in alignment and have more accurate copy-pasting. I can handle the size of the tabs with the tab-size CSS property.
I've patched it like so https://github.com/JasonBarnabe/greasyfork/commit/e483752fa05c455f45a0344057b2a4feb6069d11 but I think it would be good to have this as a built-in option. Maybe handle it by passing -1 to tab_width?
I've read #61, which contains this delicious quote:
I don't want to have this discussion. If anybody insists on using tabs, please fork CodeRay.
Not sure if this represents a general bias against tabs in general or just that specific suggestion...
CodeRay converts tabs into spaces; I would prefer it not do that. I would like to keep things in alignment and have more accurate copy-pasting. I can handle the size of the tabs with the tab-size CSS property.
I've patched it like so https://github.com/JasonBarnabe/greasyfork/commit/e483752fa05c455f45a0344057b2a4feb6069d11 but I think it would be good to have this as a built-in option. Maybe handle it by passing -1 to tab_width?
I've read #61, which contains this delicious quote:
Not sure if this represents a general bias against tabs in general or just that specific suggestion...