Qbasicnews.com
Generic Syntax Highlighting - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Site/Forum Issues (http://qbasicnews.com/newforum/forum-9.html)
+--- Thread: Generic Syntax Highlighting (/thread-4154.html)

Pages: 1 2 3 4


Generic Syntax Highlighting - oracle - 06-22-2004

^ Bleh, so does [code]. There's a phpBB mod to fix that, I might look at integrating it, but probably not.

I'm going to work on colouring soon, I want to make it like the last version (where colours could be changed for each style).


Generic Syntax Highlighting - KiZ - 06-22-2004

No it doesnt =P

Code tags:
Code:
;)

And it is a real problem. The smilies replace the text, so you can miss out parts of the program that is supposed to be there.

what if you had this:

[syntax="qbasic"]blah$ = "(8)"
print blah$[/syntax]

That SHOULD be:
Code:
blah$ = "(8)"
print blah$



Generic Syntax Highlighting - oracle - 06-24-2004

In which case somebody must've already installed the mod for code tags Wink. I'll fix [syntax] later,


Generic Syntax Highlighting - oracle - 07-02-2004

I've fixed the colours for smartdark now. Is that more readable?


Generic Syntax Highlighting - Krule - 07-17-2004

[syntax="c"]
function Testing (int a, int b)
{
if (a < b) {
cout << "testing" << endl;
} else {
return 0;
}
}
[/syntax]

Hmmmm, nice one... final mod is expected... when?


Generic Syntax Highlighting - oracle - 07-19-2004

When I get around to it Wink. I still have many issues to iron out - at the moment it doesn't use the bbcode_tpl thing that all other BBCodes use, and that's normally grounds for an instant refusal by the team at phpBB, so I'll have to talk to them first.


Generic Syntax Highlighting - Hard Rock - 07-20-2004

Quote:In which case somebody must've already installed the mod for code tags
Code has never respected smilies...... that was the whole purpose of the code blocks.


Generic Syntax Highlighting - oracle - 07-21-2004

Code used to just play them out, I'm sure of it. Possibly this was just built into a newer version and now we have that... I could be wrong of course...


Generic Syntax Highlighting - Sumo Jo - 07-21-2004

Quote:Code used to just play them out, I'm sure of it. Possibly this was just built into a newer version and now we have that... I could be wrong of course...

Code was made to stop smileys (among other formatting issues) from occuring when trying to post. For as long as I can remember, phpbb has always been this way (with vbulletin being the same way).


Generic Syntax Highlighting - na_th_an - 07-21-2004

I remember smileys showing in code blocks. I remember myself having to edit posts with 8) and change it to 8 ).