views:

273

answers:

3

Hi,

For a school project i need to write or use a online programming editor. It is a part of a bigger project. I thought of a java application, php/html/javascript or flash.

I have a couple of things i could do:

  • Find a good working application and edit it so it works with the rest of the project
  • Find good parts for a editor and make it working my self (syntax highlighter, auto-indent, autocompletion, etc.)
  • Combination of those two

Does anybody know a good editor or have tips for this project or a editor?

Thanks for reading,

Leon

A: 

Bespin comes to mind. Though it might be too bleeding edge, depending on how the rest of the project is built/meant to be used (but hey, programmers love bleeding edge).

Igor Klimer
+2  A: 

For the syntax highlighting and basic editing part, check out my recent question Textarea that can do syntax highlighting on the fly?

Solutions presented there:

For the rest - autocompletion etc. - ... Check out the Wikipedia article Comparison of JavaScript-based source code editors Interested to see what other suggestions come up.

Pekka
A: 

If you decide to use PHP/HTML/CSS/JavaScript, see GeSHi for syntax highlighting.

Philip
Geshi is great but it can't do highlighting on the fly (i.e. inside the editor), can it?
Pekka
No, it can't. This is a general limitation of HTML textareas and has actually nothing to do with Geshi itself.
Philip