Fix for #5625 - Made tab widths consistent across renderers#5633
Fix for #5625 - Made tab widths consistent across renderers#5633benfry merged 2 commits intoprocessing:masterprocessing/processing:masterfrom liquidev:masterCopy head branch name to clipboard
Conversation
merge the latest commits
Made tab widths consistent across renderers
|
Interesting fix… I'd rather get to the source of the problem, but I think this is rare enough that it's ok to go this route. |
|
I know that this fix is not very accurate, because tabs are supposed to help with making tables etc. but I might create a better fix at some other point in time. |
|
I am pretty sure you just broke |
|
Don't break |
|
@clankill3r I didn't think about that possibility, I'll make a new version of this, fixing the broken fix that breaks things. |
|
Ok, backing out that fix. We'd need to add that hack to 4-5 places in the code, and it still wouldn't cover text from |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fortunately this is a very easy fix, just replace all tabs with spaces (I chose 4 as this is what I use as my tab width in text editors, however this should be subject to change. Maybe make a
tabWidth()function?)