CODE Tags
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/01/2008 at 14:56, xxxxxxxx wrote:
Hi everyone,
I've taken matters into my own hands with regards to the CODE issue. I've tweaked the CSS display for old posts and the generated HTML for new ones (unfortunately the HTML is stored in the posts). Let me know if this is an improvement.
- Rick -
>
\> if(thisLooksBetterThanItUsedTo) { \> return TRUE; \> } else { \> GePrint("What CSS would you use?"); \> return FALSE; \> } \>
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/01/2008 at 19:42, xxxxxxxx wrote:
Thanks Rick, much appreciated, it's not perfect but an improvment
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/01/2008 at 01:55, xxxxxxxx wrote:
looks better, but some syntax highlighting would be great.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/01/2008 at 12:15, xxxxxxxx wrote:
Hey, stop pushin' it Samir!
I've not seen any developer sites which provide syntax highlighting on code sections. Since we're dealing with C++ and COFFEE, it may prove more challenging.
I do appreciate the scroll block code section more than the mess currently employed. It would also be nice if CODE didn't interpret into BLOCKQUOTE+I. It really messes up the rest of the message so I end up using I for code sections anyway.
Somewhat along Samir's line of thinking, it would also be a good idea to retain the ability to color or highlight text in the code section as this is employed often to show the 'code of interest'.
Thanks!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/01/2008 at 15:58, xxxxxxxx wrote:
Quote: Originally posted by kuroyume0161 on 28 January 2008
>
> * * *
>
> Hey, stop pushin' it Samir!
>
> * * *They can´t stop me! Noone can. Robert, are you pondering what I'm pondering?.........ok, I´m drifting.
> Quote: _I've not seen any developer sites which provide syntax highlighting on code sections. Since we're dealing with C++ and COFFEE, it may prove more challenging.
>
> * * *
_
Well, I don´t think of a full syntax highlighting support but it should be possible without too much work (thanks to css). Here is a german c++ forum that uses highlighting, also very basic. Mostly the general types and operators, but it helps identifying code much faster imo:
(direct link to a post with highlighting) http://www.c-plusplus.de/forum/viewtopic-var-t-is-203701.html
In that forum they even have a CODE button and especially a C++ Button. Good service and always a pleasure to write code.
So, would still like to push this a little further...beside the improvements, which are very helpful indeed!
thx!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/01/2008 at 18:02, xxxxxxxx wrote:
That site's hilarious. Line-numbers and all!
I just think that *someone* (eh hem) would need to put in the SDK keywords or the only highlighting might be basic stuff - since we are mainly using extension types (LONG, Real, etc.).