|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Tabbed CODE blocks
It would be great if tabbed (indented) CODE samples were better maintained, especially after a thread is edited when most of the tabbed formatting disappears
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!
|
|
#2
|
||||
|
||||
|
if you use the code tags doesn't it keep it?
i.e Code:
my indented code // somthing like this then when I edit it my tabs are kept etc.. or am I completely off here
__________________
Viper_SB |
|
#3
|
||||
|
||||
|
It sort of works, but not quite:
Code:
No tab 1 tab 2 tabs |
|
#4
|
||||
|
||||
|
Same code but then edited again:
Code:
No tab 1 tab 2 tabs |
|
#5
|
||||
|
||||
|
The tabs are just removed...
|
|
#6
|
||||
|
||||
|
yes I noticed this erratic behavior as well... couldn't really point at specific problem. but most of the times after I add code tags the original indentation is preserved.
|
|
#7
|
||||
|
||||
|
Hadn't noticed this behaviour, but then I don't use tabs, only spaces to indent.
__________________
-
thought-after | my thoughts on web development Get Firefox, the developers browser Budget hosting - recommended [/left] |
|
#8
|
||||
|
||||
|
That's very true, even when you create code on some asp editors, you still end up missing out on some tabbing when you open this file in a text only editor such as notepad.
Maybe the thing happens to posts wrapped on [codel] tags. It would be nice if this could be corrected. If not, I'm ok with it |
|
#9
|
||||
|
||||
|
Agreed - it's not the end of the world. Maybe I'll change my editor to tab with spaces while I post code...
|
|
#10
|
||||
|
||||
|
Damn that red belt looks good!! Only 10 more posts
![]() |
|
#11
|
||||
|
||||
|
Today then!
|
|
#12
|
||||
|
||||
|
After a quick 7 hours of sleep - yes today
![]() |
|
#13
|
||||
|
||||
|
I like my black belt, but red is even more cool... I wish I could switch belt somehow!
![]() |
|
#14
|
||||
|
||||
|
Quote:
I've also noticed that the tabs appear (disappear!!) to be changed to single spaces, so I agree with Selwonk. It's not the end of the world really but it would be so so helpful if they were kept in place. I think the belts are great and I wanna be a red belt too!!!! It does look pretty good. In fact, I wanna rainbow belt with a zippy!! (Get it?) As for Avatars. I'm so jealous I haven't got one. I am posting though. I'm well chuffed I've been given some reputation points too. Happy days. Happy belts. Not so happy Avatars. But it will be when I'm allowed to have one. Not so happy tabs but reasonably happy spaces. In general, happy, happy and happy. And a bit more happy for goodluck! P.S. Are there any girls using this site? I've not noticed any. P.P.S. If anyone has any tips on finding an entry level position in London. Please let me know. I've just started looking but my CV, from a coding point of view, is less that weak!! TTFN |
|
#15
|
||||
|
||||
|
Quote:
Sessie is a "girlie" and posts loads on the forum... I was confused by the PhilCollins99... |
![]() |
| Viewing: ASP Free Forums > Forum Information > Suggestions & Feedback > Tabbed CODE blocks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|