Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Forum syntax highlighting is live now!

Author
Message
Happy Cheesecake
14
Years of Service
User Offline
Joined: 16th Jun 2009
Location: My non-vice-presidential refrigerator.
Posted: 27th Nov 2009 18:11 Edited at: 27th Nov 2009 18:11



Fancy.

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Outscape
15
Years of Service
User Offline
Joined: 23rd May 2008
Location:
Posted: 29th Nov 2009 14:10 Edited at: 29th Nov 2009 14:15
test and bump of justice!



Dark GDK not work??
*eyes wobble*
*bottom lip trembles*









AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 29th Nov 2009 14:57
Quote: "Dark GDK not work??
*eyes wobble*
*bottom lip trembles*"


DarkGDK functions don't highlight in MSVC++--functions in general don't highlight--so it's only fitting that they don't highlight in code boxes either.

i like orange
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 29th Nov 2009 19:05
this now seems to be working fine for me in IE8 + Old IDE + Vista 64.

thanks guys!

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Jeku
Moderator
20
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 29th Nov 2009 20:04
It shouldn't be hard to add GDK after I move this week. If I have a keyword file, even better.


Senior Web Developer - Nokia
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 29th Nov 2009 20:48 Edited at: 29th Nov 2009 21:34
Jeku:

I just made a program to convert DBP keywords to DGDK keywords for you.

Keywords105.ini



Keywords107.ini (not sure how it's different from Keywords105.ini)



If you need any others let me know. Keep in mind that it only capitalizes the first letter of each word, so in cases where two letters in a row are capitalized, such as dbZRotateObject(), it may be a bit off. For that reason you may not want to make the highlighting for these keywords case-sensitive.

i like orange
Jeku
Moderator
20
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 29th Nov 2009 23:21
@AndrewT - Thanks!! That is a tremendous help!


Senior Web Developer - Nokia
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Dec 2009 18:53 Edited at: 7th Dec 2009 18:55
i'm assuming the dbpro part is still being worked on?

are missing the final words in the commands; will probably cause confusion for new users

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Jeku
Moderator
20
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 7th Dec 2009 23:57
Yes, I have been too busy to fix those. Will get them done soon


Senior Web Developer - Nokia
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 8th Dec 2009 06:21 Edited at: 8th Dec 2009 06:21
I know its not really relivent to Syntax Highlighting, but i've just thought of a forum update that would be very useful, for the ability to add a youtube video... it would mean when you make a program, instead of posting a screenshot, you could post a little video of it without it having to be just an external link.

Just a Thought

Everyone Be Cool, You, Be Cool.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 8th Dec 2009 22:13 Edited at: 8th Dec 2009 22:15
re: youtube would be very nice (screenshots are so 90's! ). with the idea, i think it's best to hardcode to allow youtube and a couple other common video services only as allowing free/full flash embedment is a can of worms i don't think the forums would benefit from. so, a tag such as:

[youtube]92tGHF7A70I[/youtube]

would embed youtube video id 92tGHF7A70I

...maybe someday

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit

Login to post a reply

Server time is: 2024-05-06 15:05:41
Your offset time is: 2024-05-06 15:05:41