Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14462
| From | Stefan Weiss <krewecherl@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Text editor with syntax highlighting in HTML+JS+CSS |
| Date | 2012-06-11 16:45 +0200 |
| Organization | albasani.net |
| Message-ID | <jr509g$ap1$1@news.albasani.net> (permalink) |
My Google skills have deserted me, due to too many irrelevant results and generic keywords, so I'd like to ask if anyone here has used (or even heard of) something like this before. A client of mine is planning to use a custom domain specific language to describe certain data transformation processes. Most of the application is operated and configured with a web interface, and it would make sense to have a way to edit the transformation processes in the same interface. What we're looking for is an editor which can - be embedded in an HTML document - uses nothing but HTML, JS, and CSS - has syntax highlighting - can be extended to support new languages - works the same across moderately modern browsers (IE7 being the weakest link) It would be an advantage if the editor was as simple and light-weight as possible. All we really want from it is the syntax highlighting; otherwise we'd be using a simple text area. I even did a quick & dirty experiment positioning a transparent textarea over a div (for the highlighted code), and it worked reasonably well, but when the textarea is transparent, so is the cursor and any text selection. I didn't actually expect this to work, but thought it was worth a few minutes to try it out, because we really don't need a full-blown editor, just the syntax highlighing. Any ideas? - stefan
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Text editor with syntax highlighting in HTML+JS+CSS Stefan Weiss <krewecherl@gmail.com> - 2012-06-11 16:45 +0200
Re: Text editor with syntax highlighting in HTML+JS+CSS "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-06-11 19:39 -0700
Re: Text editor with syntax highlighting in HTML+JS+CSS Stefan Weiss <krewecherl@gmail.com> - 2012-06-12 15:26 +0200
Re: Text editor with syntax highlighting in HTML+JS+CSS Scott Sauyet <scott.sauyet@gmail.com> - 2012-06-12 09:51 -0700
Re: Text editor with syntax highlighting in HTML+JS+CSS Stefan Weiss <krewecherl@gmail.com> - 2012-06-12 20:35 +0200
Re: Text editor with syntax highlighting in HTML+JS+CSS Scott Sauyet <scott.sauyet@gmail.com> - 2012-06-12 22:35 -0700
csiph-web