{"id":45,"date":"2007-06-08T15:16:32","date_gmt":"2007-06-08T19:16:32","guid":{"rendered":"http:\/\/www.virtualroadside.com\/blog\/index.php\/2007\/06\/08\/codepress-vs-editarea\/"},"modified":"2007-07-02T21:30:37","modified_gmt":"2007-07-03T01:30:37","slug":"codepress-vs-editarea","status":"publish","type":"post","link":"https:\/\/www.virtualroadside.com\/blog\/index.php\/2007\/06\/08\/codepress-vs-editarea\/","title":{"rendered":"Codepress vs. Editarea"},"content":{"rendered":"<p>A short while ago I wrote an article discussing <a href=\"http:\/\/www.codepress.org\">Codepress<\/a>, and some of the problems I had with it (link to <a href=\"http:\/\/www.virtualroadside.com\/blog\/index.php\/2007\/04\/05\/codepress\/\">Codepress Problems<\/a>). There were other issues that came up as well over the past few weeks, but I found a different javascript-based highlighter called <a href=\"http:\/\/www.cdolivet.net\/editarea\/\">Editarea<\/a>. Editarea appears to have been around about the same amount of time as Codepress, except that it seems to be harder to find. Anyways, a short table of some of the features that they both have\/don&#8217;t have.<\/p>\n<table>\n<tr class=\"header\">\n<td>&nbsp;<\/td>\n<td>Codepress<\/td>\n<td>Editarea<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" class=\"subheader\">Syntax Highlighting<\/td>\n<\/tr>\n<tr>\n<td>Syntax Highlighting (web things like HTML, CSS, JS)<\/td>\n<td>Yes<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Switch syntax highlighting &#8220;On the fly&#8221;<\/td>\n<td>Yes<\/td>\n<td>No<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" class=\"subheader\">Convienence Factors<\/td>\n<\/tr>\n<tr>\n<td>Auto Complete<\/td>\n<td>Yes<\/td>\n<td>No<\/td>\n<\/tr>\n<tr>\n<td>Auto Indent<\/td>\n<td>No<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Change Tab Size<\/td>\n<td>No<\/td>\n<td>No<\/td>\n<\/tr>\n<tr>\n<td>CTRL-S support<\/td>\n<td>Simple patch<\/td>\n<td>Simple patch, has save button<\/td>\n<\/tr>\n<tr>\n<td>Find\/Replace<\/td>\n<td>No<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Indent selected blocks of text<\/td>\n<td>Complex patch<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Show Cursor Information (line, column)<\/td>\n<td>No<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Word Wrap<\/td>\n<td>No<\/td>\n<td>No<\/td>\n<\/tr>\n<tr>\n<td>Copy\/Paste<\/td>\n<td>Removes tabs<\/td>\n<td>Original Text<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" class=\"subheader\">Feel<\/td>\n<\/tr>\n<tr>\n<td>Speed<\/td>\n<td>Quick<\/td>\n<td>Slow<\/td>\n<\/tr>\n<tr>\n<td>Bugs<\/td>\n<td>Stable<\/td>\n<td>Stable<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" class=\"subheader\">Misc<\/td>\n<\/tr>\n<tr>\n<td>Dynamic Line Numbers<\/td>\n<td>No<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Browser Support<\/td>\n<td>IE, Firefox, Opera<\/td>\n<td>IE, Firefox, Opera<\/td>\n<\/tr>\n<tr>\n<td>Ease of integration<\/td>\n<td>Easy, has install notes<\/td>\n<td>Easy, has more documentation and options<\/td>\n<\/tr>\n<\/table>\n<p>So, who wins? Right now, I say Editarea is winning, since Find\/Replace, good copy\/paste, and block indenting are all critical features that you don&#8217;t realize you&#8217;re missing until they&#8217;re gone. However, I feel that in the future both editors will continue to improve significantly. Hopefully they solve the tab size problem.. \ud83d\ude42<\/p>\n<p>Note: While writing this, I found yet another syntax highlighting editor with no official name at <a href=\"http:\/\/marijn.haverbeke.nl\/highlight\/\">http:\/\/marijn.haverbeke.nl\/highlight\/<\/a> . This one isn&#8217;t quite as nice looking as Editarea or Codepress, BUT it does appear to do word-wrapping nicely. I&#8217;ll have to look into it more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A short while ago I wrote an article discussing Codepress, and some of the problems I had with it (link to Codepress Problems). There were other issues that came up as well over the past few weeks, but I found a different javascript-based highlighter called Editarea. Editarea appears to have been around about the same [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":0,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}