tabs in code tags

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

tabs in code tags

Post 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 :(
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: tabs in code tags

Post by Notorious »

Agree, so maybe that's why I always have to manually apply every single patch I find here! :(
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: tabs in code tags

Post 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)

:)
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: tabs in code tags

Post 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
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply