Page 1 of 1

tabs in code tags

Posted: Thu May 28, 2009 9:08 pm
by janiii
it happens, that a patch is not applicable, if it is just pasted to the forum in code tags, because the tabs are changed to spaces.. :(
i like to overview my code in the message when it is not so long.. dont like to have to download the patch and check and if it is wrong delete attachment and upload new one..

is there maybe a way to make the editor leave the tabs in code tags as they are pasted?


here are tabs pasted:

Code: Select all

                    else
code as text:

Code: Select all

                    else
here too:

Code: Select all

                    else
no tabs there :(

Re: tabs in code tags

Posted: Fri May 29, 2009 6:21 am
by Notorious
Agree, so maybe that's why I always have to manually apply every single patch I find here! :(

Re: tabs in code tags

Posted: Fri May 29, 2009 9:35 am
by janiii
so.. till this is fix (if it can be fixed..)..

i, for my part, will try to solve this problem this way:
- when adding patch code to my posts, i will paste it there in code tags AND add a pastebin link (pastebin leaves tabs fine)

:)

Re: tabs in code tags

Posted: Tue Jun 02, 2009 1:36 pm
by janiii
i found a mod that should fix the problem with tabs in code tags:
http://www.phpbb.com/mods/db/index.php? ... ib_id=9005