|
-
Sep 19th, 2007, 02:28 AM
#1
Thread Starter
G&G Moderator
C++ code open square bracket
Howdy,
The open square bracket in C++ highlighted code doesn't work.. consider:
int blah[4];
.. in normal text.. then:
..in highlight.
FIX PLEASE 
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 19th, 2007, 05:14 AM
#2
Re: C++ code open square bracket
Yea it would be nice to have a fix on the site but you can use the following application for now until it is fixed.
Coloring your code in vBulletin Posts
-
Sep 19th, 2007, 06:56 AM
#3
Re: C++ code open square bracket
Plain Code Tags also work well.
-
Sep 19th, 2007, 08:19 AM
#4
Thread Starter
G&G Moderator
Re: C++ code open square bracket
 Originally Posted by Hell-Lord
Cheers 
 Originally Posted by Hack
Plain Code Tags also work well.
..but it doesn't look as pretty 
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 19th, 2007, 08:21 AM
#5
Re: C++ code open square bracket
 Originally Posted by chemicalNova
..but it doesn't look as pretty 
You are kidding, right?
-
Sep 19th, 2007, 08:29 AM
#6
Thread Starter
G&G Moderator
Re: C++ code open square bracket
 Originally Posted by Hack
You are kidding, right? 
I'll admit I think code without syntax highlighting is U.G.L.Y.. but I didn't think my request was all that hard.. surely, instead of the HTML code, its quickly changeable to return the actual character.. I'm no PHP guru, but it can't be too difficult 
Basically, the reason I requested this be fixed.. is I can see ALOT of people posting questions in the C++ section, receiving replies by people who use the highlight tags, and then complaining afterwards for the code being wrong (when its correct.. they've just copied and pasted it with the HTML in there). I figure it'll save, not alot, but a few headaches at least.
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 19th, 2007, 08:34 AM
#7
Re: C++ code open square bracket
None of us is saying the your request is over the top. We are merely supplying some work arounds that you can employ until such time as this is addressed.
-
Sep 19th, 2007, 08:36 AM
#8
Thread Starter
G&G Moderator
Re: C++ code open square bracket
 Originally Posted by Hack
None of us is saying the your request is over the top. We are merely supplying some work arounds that you can employ until such time as this is addressed.
Oh no problem then, I thought you thought I was being over-bearing 
All is well.. I will continue to highlight until its fixed.. but yeah.. thanks 
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 19th, 2007, 09:59 AM
#9
Re: C++ code open square bracket
 Originally Posted by chemicalNova
I'll admit I think code without syntax highlighting is U.G.L.Y...
If you ask me then current "highlighting" tags make it ugly for any language - ordinary CODE ones at least make code to appear properly (and also easy copy/paste without special work around) which is much more important than colors .
Code:
// some comments
Int blah[4];
My 2c anyway...
-
Sep 20th, 2007, 10:16 AM
#10
Re: C++ code open square bracket
The highlight tag is a third party add-in.....
That decreases the likelihood that we can get a fix....
Brad!
-
Sep 20th, 2007, 10:32 PM
#11
Thread Starter
G&G Moderator
Re: C++ code open square bracket
 Originally Posted by brad jones
The highlight tag is a third party add-in.....
That decreases the likelihood that we can get a fix....
Brad!
You can't just edit it? I thought it was just a whole bunch of PHP sitting around somewhere on the web server 
Oh well.. guess I'll make do for now 
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 21st, 2007, 07:32 AM
#12
Re: C++ code open square bracket
I'm sure the third party vendor has some sort of editing restriction in place.
-
Sep 21st, 2007, 07:58 AM
#13
Re: C++ code open square bracket
 Originally Posted by brad jones
The highlight tag is a third party add-in.....
That decreases the likelihood that we can get a fix....
Brad!
I thought it came with the forum software, I really did.
In this case we can do something much better - we have plenty of talents here!
It could be an open source project so everyone who's interested will contribute.
It could also be built as an Add-In and most importantly you will have the source right in your hands - maintenance wise it will be a breeze.
I hope you say YES, Brad.
-
Sep 21st, 2007, 08:28 AM
#14
Re: C++ code open square bracket
Here is my shot for a solution. The syntax highlighter i posted in my first post (in this topic) is there anyway something like that could be made entirely in PHP and installed as part of the forums I am not to sure about PHP and all that web development but is able to be done?
-
Sep 24th, 2007, 09:02 AM
#15
Re: C++ code open square bracket
The current version of vBulletin uses an 'add-in' system. We have installed an add-in to do the Highlighting. If you guys write and test a highlight add-in that works cleaner, then Joe can look at replacing the current one with the one you write. If you do it as an open source project on this forum, that would be even better 
Brad!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|