What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » [code][/code] suggestion

[code][/code] suggestion
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [code][/code] suggestion
When tabs are used in code text lines (which is what we're talking about here; not about switching controls or technical ascii standards or whatever other context), then the only purpose of them is to indend the codelines so they are better structured.

Doing this by spaces, preseving tab stops, or whatever else doesn't matter, even mono-spaced or variable spaced fonts doesn't matter, just as long as the codelines are indended. So I don't see no harm done in a simple replace of a tab character into a few spaces.

Code highlighting would be nice too, but that isn't going to happen anytime soon. Automatic enclosing with [noparse] and using the <pre> tag is going to be worse, since then we can not use any highlighting or formatting (eg: bold) ourselfs anymore, which is very important.

A simple replace of the tab character on the other hand is quite straightforward and easy to implement I think. And at least saves us from doing a manual ReplaceAll all the time when pasting code.

This post was edited on 07-26-2008 at 03:42 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-26-2008 03:37 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[code][/code] suggestion - by matty on 07-24-2008 at 01:21 PM
RE: [code][/code] suggestion - by John Anderton on 07-24-2008 at 02:17 PM
RE: [code][/code] suggestion - by Spunky on 07-24-2008 at 02:21 PM
RE: [code][/code] suggestion - by Nathan on 07-24-2008 at 03:03 PM
RE: RE: [code][/code] suggestion - by Vilkku on 07-24-2008 at 08:14 PM
RE: [code][/code] suggestion - by aNILEator on 07-24-2008 at 04:15 PM
RE: [code][/code] suggestion - by Spunky on 07-24-2008 at 05:08 PM
RE: [code][/code] suggestion - by joey on 07-24-2008 at 05:59 PM
RE: [code][/code] suggestion - by vaccination on 07-24-2008 at 08:34 PM
RE: [code][/code] suggestion - by Nathan on 07-24-2008 at 09:36 PM
RE: [code][/code] suggestion - by vaccination on 07-24-2008 at 09:45 PM
RE: [code][/code] suggestion - by Lou on 07-24-2008 at 11:33 PM
RE: [code][/code] suggestion - by Eljay on 07-25-2008 at 12:04 AM
RE: [code][/code] suggestion - by Adeptus on 07-25-2008 at 07:01 AM
RE: [code][/code] suggestion - by vaccination on 07-25-2008 at 07:51 AM
RE: [code][/code] suggestion - by CookieRevised on 07-25-2008 at 10:45 AM
RE: [code][/code] suggestion - by Felu on 07-25-2008 at 11:38 AM
RE: [code][/code] suggestion - by Thor on 07-25-2008 at 11:42 AM
RE: RE: [code][/code] suggestion - by Vilkku on 07-25-2008 at 11:45 AM
RE: [code][/code] suggestion - by Eljay on 07-25-2008 at 11:47 AM
RE: [code][/code] suggestion - by Felu on 07-25-2008 at 11:51 AM
RE: [code][/code] suggestion - by John Anderton on 07-25-2008 at 01:15 PM
RE: [code][/code] suggestion - by andrewdodd13 on 07-25-2008 at 04:00 PM
RE: [code][/code] suggestion - by CookieRevised on 07-26-2008 at 03:37 PM
RE: [code][/code] suggestion - by matty on 07-26-2008 at 03:47 PM
RE: [code][/code] suggestion - by mattisdada on 07-29-2008 at 07:21 AM
RE: [code][/code] suggestion - by Chrono on 07-29-2008 at 11:22 AM
RE: [code][/code] suggestion - by NanaFreak on 07-29-2008 at 11:41 AM
RE: RE: [code][/code] suggestion - by Vilkku on 07-29-2008 at 12:35 PM
RE: [code][/code] suggestion - by matty on 07-29-2008 at 12:53 PM
RE: [code][/code] suggestion - by L. Coyote on 07-29-2008 at 02:23 PM
RE: [code][/code] suggestion - by ShawnZ on 07-29-2008 at 02:39 PM
RE: [code][/code] suggestion - by L. Coyote on 07-29-2008 at 02:55 PM
RE: [code][/code] suggestion - by Menthix on 07-29-2008 at 03:02 PM
RE: [code][/code] suggestion - by L. Coyote on 07-29-2008 at 03:07 PM
RE: [code][/code] suggestion - by ShawnZ on 07-29-2008 at 03:07 PM
RE: [code][/code] suggestion - by WDZ on 07-30-2008 at 04:25 AM
RE: [code][/code] suggestion - by warmth on 07-31-2008 at 02:26 AM
RE: RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 01:04 AM
RE: [code][/code] suggestion - by warmth on 12-22-2008 at 01:18 AM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 03:05 AM
RE: RE: [code][/code] suggestion - by ryxdp on 12-22-2008 at 05:10 AM
RE: [code][/code] suggestion - by toddy on 12-22-2008 at 03:25 AM
RE: [code][/code] suggestion - by MeEtc on 12-22-2008 at 04:15 AM
RE: [code][/code] suggestion - by Nathan on 12-22-2008 at 10:15 AM
RE: [code][/code] suggestion - by mynetx on 12-22-2008 at 10:47 AM
RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 07:44 PM
RE: [code][/code] suggestion - by vaccination on 12-22-2008 at 07:54 PM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 07:57 PM
RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 08:08 PM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 08:25 PM
RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 08:51 PM
RE: [code][/code] suggestion - by ryxdp on 12-22-2008 at 10:53 PM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 11:16 PM
RE: [code][/code] suggestion - by matty on 12-08-2009 at 04:41 PM
RE: [code][/code] suggestion - by Chrono on 12-15-2009 at 12:05 AM
RE: [code][/code] suggestion - by matty on 12-15-2009 at 01:31 AM
RE: [code][/code] suggestion - by prashker on 12-15-2009 at 04:01 AM
RE: [code][/code] suggestion - by matty on 12-15-2009 at 02:22 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On