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.

DarkBASIC Discussion / DarkEDIT Question

Author
Message
Sly D
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 14th Jan 2004 22:59 Edited at: 14th Jan 2004 23:22
First of all please forgive me this isn't strictly related to DB so I wasn't sure where to post this.
Now the question is, does anybody know what component was used for highlightning DB syntax in DarkEDIT?
Thanks alot!

EDIT:
Pleeeease...

A cute looking koala with a WHAT!? THEY can't use Kalashnikovs, can they?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 16th Jan 2004 12:30
When you say "What component" do you mean, "where's the keywords?" or do you mean "How do I make a syntax highlighter the samw?" ?

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sly D
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 16th Jan 2004 18:47
I mean was it some component that had the syntax highlighting or did Guy code it himself?

A cute looking koala with a WHAT!? THEY can't use Kalashnikovs, can they?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 17th Jan 2004 15:22
He would have most likely coded it himself...

It wouldn't be too hard, you just parse the string on the fly, and if anything comes up that is in the keywords file ( which you would have previously read to an array ), Then you format it differently to the rest of the text.

But, don't hold me to my word, I am just assuming this...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sly D
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 17th Jan 2004 20:32
Never mind, already done it

A cute looking koala with a WHAT!? THEY can't use Kalashnikovs, can they?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 18th Jan 2004 04:53
lol, alright.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-22 16:21:03
Your offset time is: 2025-05-22 16:21:03