www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DCode editor

reply Vathix <chris dprogramming.com> writes:
I made a simple D code editor, http://www.dprogramming.com/dcode.php

The syntax coloring should completely support D syntax. If not, let me  
know what I missed :>
Jul 17 2005
next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Vathix" <chris dprogramming.com> wrote in message 
news:op.st19wonil2lsvj esi...
I made a simple D code editor, http://www.dprogramming.com/dcode.php

 The syntax coloring should completely support D syntax. If not, let me 
 know what I missed :>

Nicely done :) I especially like the correct coloring of /+ +/ style comments. It'd be nice to be able to change the colors, though, as lots of white hurts my eyes, and the colors are so muted that it's almost impossible to see the syntax highlighting. Add some execute macro keys a la ConText, and it'd be perfect!
Jul 17 2005
next sibling parent reply Manfred Nowak <svv1999 hotmail.com> writes:
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote:

[...]
 I especially like the correct coloring of /+ +/
 style comments.

Sorry. "/+/++/+/" isnt switching off the comment highlighting correctly. -manfred
Jul 17 2005
parent Vathix <chris dprogramming.com> writes:
On Sun, 17 Jul 2005 22:22:38 -0400, Manfred Nowak <svv1999 hotmail.com>  
wrote:

 "Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote:

 [...]
 I especially like the correct coloring of /+ +/
 style comments.

Sorry. "/+/++/+/" isnt switching off the comment highlighting correctly.

Thanks, I have it fixed.
Jul 18 2005
prev sibling parent Vathix <chris dprogramming.com> writes:
On Sun, 17 Jul 2005 11:21:26 -0400, Jarrett Billingsley  
<kb3ctd2 yahoo.com> wrote:

 "Vathix" <chris dprogramming.com> wrote in message
 news:op.st19wonil2lsvj esi...
 I made a simple D code editor, http://www.dprogramming.com/dcode.php

 The syntax coloring should completely support D syntax. If not, let me
 know what I missed :>

Nicely done :) I especially like the correct coloring of /+ +/ style comments. It'd be nice to be able to change the colors, though, as lots of white hurts my eyes, and the colors are so muted that it's almost impossible to see the syntax highlighting.

Working on it now :)
 Add some execute macro keys a la ConText, and it'd be perfect!

I'll think about it..
Jul 18 2005
prev sibling next sibling parent reply Chris Sauls <ibisbasenji gmail.com> writes:
Vathix wrote:
 I made a simple D code editor, http://www.dprogramming.com/dcode.php

Very nice. I tried opening some of the more... interesting sources I have laying around, and it did just fine. I rather like the little gray left-side border on indented scopes. It happens to be a perfect visual complement to my typical coding style. Just four things keep it from "perfect" for me... A) ability to open multiple files B) some kind of 'cheap and cheesy' Projects support (a la EditPlus for instance) C) customizable syntax coloring, able to set different styles for different keywords D) braces/parentheses-matching. I won't ask for folding... I never really use it, even in C#... it just feels awkward to me. Also, do you think you might add other styling options to the syntax highlighting, aka bold, italic, underline? I'm too much of a Borland user, I like certain keywords bolded. ;) -- Chris Sauls
Jul 17 2005
parent reply Vathix <chris dprogramming.com> writes:
On Sun, 17 Jul 2005 16:59:25 -0400, Chris Sauls <ibisbasenji gmail.com>  
wrote:

 Vathix wrote:
 I made a simple D code editor, http://www.dprogramming.com/dcode.php

Very nice. I tried opening some of the more... interesting sources I have laying around, and it did just fine. I rather like the little gray left-side border on indented scopes. It happens to be a perfect visual complement to my typical coding style. Just four things keep it from "perfect" for me... A) ability to open multiple files

I was debating this because it might not be considered a simple editor with this feature. I'm thinking I want it anyway.
 B) some kind of 'cheap and cheesy' Projects support (a la EditPlus for  
 instance)

That is pretty cheesy, but I like the simplicity.
 C) customizable syntax coloring, able to set different styles for  
 different keywords

Do you mean like separate colors for each of: int, align, and private?
 D) braces/parentheses-matching.

yea, I'll look into it. I like it as well.
 I won't ask for folding... I never really use it, even in C#... it just  
 feels awkward to me.

Same here.
 Also, do you think you might add other styling options to the syntax  
 highlighting, aka bold, italic, underline?  I'm too much of a Borland  
 user, I like certain keywords bolded.  ;)

yea, sure. I just don't particularly like that it causes things to be unaligned.
Jul 18 2005
parent Chris Sauls <ibisbasenji gmail.com> writes:
Vathix wrote:
 A) ability to open multiple files

with this feature. I'm thinking I want it anyway.

Nah... no introspect, no "class browser", no autocompletion or any of that other fancy jazz... so its still a simple editor. :)
 C) customizable syntax coloring, able to set different styles for  
 different keywords


Essentially, yes. You could classify the keywords for simplicity, like one group for primitive types, another for attributes, one for statement keywords (like 'if', 'while', 'case'), etc. That'd probably be a fair bit more straightforward than allowing each individual keyword to be customized... not to mention a lot faster to edit. Could even just store the colors in a file that's parsed at loadtime. Users could just edit the color codes in said file, then reload (or else provide a reload command in the menu somewhere).
 Also, do you think you might add other styling options to the syntax  
 highlighting, aka bold, italic, underline?

unaligned.

That is true. Its unessential anyhow if there's good varied coloring. -- Chris Sauls
Jul 18 2005
prev sibling next sibling parent reply jicman <jicman_member pathlink.com> writes:
Is it D source?  Or c?  Just curious...

josť

Vathix says...
I made a simple D code editor, http://www.dprogramming.com/dcode.php

The syntax coloring should completely support D syntax. If not, let me  
know what I missed :>

Jul 18 2005
parent reply Vathix <chris dprogramming.com> writes:
On Tue, 19 Jul 2005 01:54:47 -0400, jicman <jicman_member pathlink.com>  
wrote:

 Is it D source?  Or c?  Just curious...

The text box is C++ and the rest is D.
Jul 18 2005
next sibling parent jicman <jicman_member pathlink.com> writes:
Very nice...

I would like to be able to have a dark backgroung.  Please. :-) White kills my
eyes.

Vathix says...
On Tue, 19 Jul 2005 01:54:47 -0400, jicman <jicman_member pathlink.com>  
wrote:

 Is it D source?  Or c?  Just curious...

The text box is C++ and the rest is D.

Jul 19 2005
prev sibling parent reply Robert Jones <robertjones21 HotPOP.com> writes:
Vathix said the following on 7/19/2005 2:17 AM:
 On Tue, 19 Jul 2005 01:54:47 -0400, jicman <jicman_member pathlink.com>  
 wrote:
 
 Is it D source?  Or c?  Just curious...

The text box is C++ and the rest is D.

First I have a some questions of my own: 1. Why is the text box written in C++ and not D? 2. Also do you have plans to release the source code and if so under what license? 3. How soon will DCode 1.3 be out? 4. Will you be adding syntax highliting for assembly(inline/external), HTML(for embedded D code), and DMDScript? Now with that out of the way, I'm currently using the latest available version DCode 1.2 and its really good. It may lack some features that gvim 6.3 has that I like such as folding; but I understand you do intend to had other features such as the ability to call build which would be great. DCode works real well, loads faster than gvim 6.3, and at the moment is written mostly in D. -- Robert Jones robertjones21 HotPOP.com rjones21.freeshell.org "Seek out the truth, only if you have the courage to accept it"
Oct 13 2005
parent reply Vathix <chris dprogramming.com> writes:
On Thu, 13 Oct 2005 14:51:19 -0400, Robert Jones  
<robertjones21 HotPOP.com> wrote:

 Vathix said the following on 7/19/2005 2:17 AM:
 On Tue, 19 Jul 2005 01:54:47 -0400, jicman  
 <jicman_member pathlink.com>  wrote:

 Is it D source?  Or c?  Just curious...


First I have a some questions of my own: 1. Why is the text box written in C++ and not D?

It's the existing Scintilla text box control with modifications; I didn't want to make my own because that would take too long.
 2. Also do you have plans to release the source code and if so under 		  
    what license?

Not sure.. but I usually go with libpng/zlib license.
 3. How soon will DCode 1.3 be out?

I've been a bit busy lately and haven't spent much time on my D stuff, so I don't know.
 4. Will you be adding syntax highliting for assembly(inline/external),  
     HTML(for embedded D code), and DMDScript?

Maybe inline assembly, less likely HTML and DMDScript.
 Now with that out of the way, I'm currently using the latest available  
 version DCode 1.2 and its really good. It may lack some features that  
 gvim 6.3 has that I like such as folding; but I understand you do intend  
 to had other features such as the ability to call build which would be  
 great. DCode works real well, loads faster than gvim 6.3, and at the  
 moment is written mostly in D.

Folding should be easy, just seems like very few even like it. - Chris
Oct 15 2005
parent reply Robert Jones <Robert_member pathlink.com> writes:
In article <op.sypbiotyl2lsvj esi>, Vathix says...
On Thu, 13 Oct 2005 14:51:19 -0400, Robert Jones  
<robertjones21 HotPOP.com> wrote:

 Vathix said the following on 7/19/2005 2:17 AM:
 On Tue, 19 Jul 2005 01:54:47 -0400, jicman  
 <jicman_member pathlink.com>  wrote:

 Is it D source?  Or c?  Just curious...


First I have a some questions of my own: 1. Why is the text box written in C++ and not D?

It's the existing Scintilla text box control with modifications; I didn't want to make my own because that would take too long.

 2. Also do you have plans to release the source code and if so under 		  
    what license?

Not sure.. but I usually go with libpng/zlib license.
 3. How soon will DCode 1.3 be out?

I've been a bit busy lately and haven't spent much time on my D stuff, so I don't know.
 4. Will you be adding syntax highliting for assembly(inline/external),  
     HTML(for embedded D code), and DMDScript?

Maybe inline assembly, less likely HTML and DMDScript.
 Now with that out of the way, I'm currently using the latest available  
 version DCode 1.2 and its really good. It may lack some features that  
 gvim 6.3 has that I like such as folding; but I understand you do intend  
 to had other features such as the ability to call build which would be  
 great. DCode works real well, loads faster than gvim 6.3, and at the  
 moment is written mostly in D.

Folding should be easy, just seems like very few even like it. - Chris

-- Robert Jones robertjones21 HotPOP.com rjones21.freeshell.org (A fansite for my fav anime)
Oct 28 2005
parent Vathix <chris dprogramming.com> writes:
On Fri, 28 Oct 2005 15:54:39 -0400, Robert Jones  
<Robert_member pathlink.com> wrote:
...
 1. Why is the text box written in C++ and not D?

It's the existing Scintilla text box control with modifications; I didn't want to make my own because that would take too long.


Sure ;)
Nov 01 2005
prev sibling parent reply Vathix <chris dprogramming.com> writes:
Version 1.1 with customized colors - http://www.dprogramming.com/dcode.php
Jul 21 2005
parent reply James Dunne <james.jdunne gmail.com> writes:
In article <op.st9jp1h6l2lsvj esi>, Vathix says...
Version 1.1 with customized colors - http://www.dprogramming.com/dcode.php

Add intellisense support and I'll fall to my knees and worship the ground you walk on =P. But seriously, great job so far!
Jul 21 2005
parent jicman <jicman_member pathlink.com> writes:
WOW!  Very nice...

James Dunne says...
In article <op.st9jp1h6l2lsvj esi>, Vathix says...
Version 1.1 with customized colors - http://www.dprogramming.com/dcode.php

Add intellisense support and I'll fall to my knees and worship the ground you walk on =P. But seriously, great job so far!

Jul 21 2005