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.

Work in Progress / yet another darkbasic ide

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 4th Sep 2005 03:02 Edited at: 4th Sep 2005 09:54
Why? Just to see if I can. Just started development today, still working on the syntax highlighter. Not a bad start so far.



Your signature has been erased by a mod because it's larger than 600x120...

Attachments

Login to view attachments
The Ringmaster
19
Years of Service
User Offline
Joined: 19th Mar 2005
Location: Cyberspace
Posted: 4th Sep 2005 05:12
So, how many commands have been loaded in yet?

Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 4th Sep 2005 05:55
So, what's this programmed in?

Syntax highlighting looks good .

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 4th Sep 2005 09:58
All commands are loaded through the use of the original keywords.ini file. The editor is made with Java, so now you can code DB on any platform!(just cant compile it )

Obviously, the highlighter needs a bit of work still. Certain words are giving me problems:

sync
sync on
sync rate

"sync" is detected first and so "on" or "rate" is seen as a whole seperate word and not part of a command.

Your signature has been erased by a mod because it's larger than 600x120...
PowerSoft
19
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 4th Sep 2005 10:19
Phaelax, how does VVVV appear?



Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 8th Sep 2005 01:19 Edited at: 8th Sep 2005 01:20
An easy way to fix problems with commands like 'line' being highlighted as part of another word would be to check for a space, enter, '(', ',', or '=' after and before it; if there's a different character don't highlight it.

Will this be open source? I know some Java.

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 8th Sep 2005 19:32
Once i get the highlighter perfect, i can release code if you like. I've had a research paper to do this past week on Java development, so I haven't been able to touch this project lately. I'll be able to get back on it soon.

(in my research i found java 6 will be called Dolphin)

Your signature has been erased by a mod because it's larger than 600x120...
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 12th Sep 2005 12:12 Edited at: 12th Sep 2005 12:20
almost done with the highlighter.
added quotes to the highlighter, and scrollbars to the frame. Adding a horizontal scrollbar on an editor pane is not as simple as you'd think.

*note*
"then" doesn't show highlighted in this picture, but I fixed it just now. The keyword was missing.



Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 13th Sep 2005 00:49
@Phaelax,

Long way off yet but autoformatting and indenting and the holy grail of highlighting in a different colour functions and true function folding - now that would be sweet - good luck!
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 13th Sep 2005 01:27
Nice work .

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 17th Sep 2005 15:03
phaelax, I've made a highlighter in PHP and the way I found most sucessfull was to order the commands by length. Compare to the longest first, if it works for the longest then you have a match

I can get you a copy of the PHP highlighting code if you like... This is it in action:

My Website:

Login to post a reply

Server time is: 2024-09-29 08:22:57
Your offset time is: 2024-09-29 08:22:57