EditArea - the code editor in a textarea
 

Edit area

Here is EditArea, a free javascript editor for source code. (That is no way a WYSIWYG editor).
This editor is designed to edit souce code files in a textarea. The main goal is to allow text formatting, search and replace and real-time syntax highlight (for not too heavy text).

This editor is free and freely distributable (released under LGPL, Apche and BSD licenses). All I ask is that I receive credit for my work. I will also enjoy to receive mail to tell me if you 're using it, just in order to have an idea of how much this editor is used. ;-)

Main features:

  • Easy to integrate, only one script include and one function call
  • Tabulation support (allow to write well formated source code)
  • Search and replace (with regexp)
  • Customizable real-time syntax highlighting (currently: PHP, CSS, Javascript, Python, HTML, XML, VB, C, CPP, SQL, Pascal, Basic, Brainf*ck)
  • Auto-indenting new lines
  • Line numerotation
  • Multilanguage support (currently: Croatian, Czech, Danish, Dutch, English, Esperanto, French, German, Italian, Japanese, Macedonian, Polish, Portuguese, Russian, Slovak, Spanish)
  • Possible PHP gzip compression (compress the 12 core files to one file of ~25Ko)
  • Allow multiple instances
  • Full screen mode
  • Possible plugin integration
  • Possible save and load callback functions
  • Possible dynamic content management
  • Can work in the same environment than "prototype" and "mootools"'s like libraries.

Current limitations:

  • automatic focus on the textarea on page load.
  • can be slow when editing huge files (javascript is not a fast language).
  • only on syntax language at the same time (no html and php syntax highlight at the same time).

Example

Full example

Download

The current version is the 0.7.2.3, released on 2008-10-14. Go on sourceforge for EditArea 0.7.2.3 downloads.

You can see the change log here (txt file).

Compatibility

It works on IE 6 & 7, Firefox 1.5, 2, 3, Safari 3.1, Opera 9, 9.5 and Chrome. More information available in the compatibility chart

Documentation

The online documentation is available here

Contact

You can leave me messages here

 
 
 
 
Menu
 
 
 
 
 
Options
 
Statistiques

 
 
 
 
Administration
 

 
 
 
 
182871 Visiteurs depuis le 20/03/2007 - 1 Connectés | Votre temps de connexion: 00:00:00 - 1 pages vues | © Christophe Dolivet - 2005
 

tracking