renodino has asked for the wisdom of the Perl Monks concerning the following question:

(Apologies if this is way OT, but the need is Perl related)

I'm looking to extend the nuggets described at Devel::STrace... to a full attachable debugger, with the focus on a web based interface (ala Devel::ebug::HTTP, but with a cleaner interface and lower module count). Most of the required widgets are readily available, but I can't seem to locate a decent source code editor widget with a vertical ruler, and was hoping one of the web gurus in the monastery might know if/where one can be got ? I've checked the usual suspects (Rico, Dojo, Prototype, Script.aculo.us, qooxdoo, JSAN, etc.), but only turned up Helene, which seems a good start, but relies on some <ol> tricks that might not be safe for some browsers (and seems a bit finicky in FF1.5). (Venkman seems to use the same trick as Helene, but I haven't been able to sort out which bit of code it uses for the source editor)

NOTE: I'm not looking for a WYSIWYG web page editor, but a source code editor, with line numbers and support for small icons in the vertical ruler, and maybe syntax highlighting.

Any pointers much appreciated...

  • Comment on (OT) HTML/JS based source code editor ?

Replies are listed 'Best First'.
Re: (OT) HTML/JS based source code editor ?
by planetscape (Chancellor) on Jun 22, 2006 at 03:16 UTC

    Arachnophilia is a source-code editor written in Java; it handles several languages such as Perl, Java, HTML, XML... Please be sure to read the homepage carefully, though, as there are restrictions on modifying the program. It might serve to give you some ideas, though... You might also try The Code Project, or have a look at extending/modifying our very own PerlMonks Editor, by GrandFather.

    Something else that might help is Super Searching for "syntax highlighting", or have a look at code2html.

    HTH,

    planetscape