- Better support for textarea (good to have for scenarios where JavaScript is unavailable). Ace has a special build for it but it isn't compatible with the regular API yet.
- Smaller in size (34k vs. ~185k) and comes with a very handy compression helper.
Much faster and deals with huge documents way better than Ace because it only puts the visible content in the DOM tree. As pointed out by Fabian Jakobs, the author of Ace, in a comment and by Marijn Haverbeke, the author of CodeMirror on Twitter, both CodeMirror and Ace use the same technique and in fact Ace actually pioneered it.- Better documentation compared to Ace.
- Marijn Haverbeke.
Tuesday, May 31, 2011
CodeMirror vs. Ace
Subscribe to:
Post Comments (Atom)
4 comments:
Thanks for the comparison. I'll take this as todo list for Ace. Though I cannot easily turn in to Marijn :)
FYI your third point is wrong. Ace actually pioneered this technique and CodeMirror2 implemented it later. So both editors are perfectly suitable for large documents.
Best,
Fabian
> Thanks for the comparison. I'll take this as todo list for Ace.
Looking forward to it.
> Though I cannot easily turn in to Marijn :)
I know I'm being unfair by putting that on the list :)
> FYI your third point is wrong.
Fixed.
Codemirror is good but Ace is better
Richer API (once you figure it out)
Many more features such as:
-Wordwrap
-Code folding
-Drag 'n drop code
-JSHint
Very active community - with lots of help and contributors (including mozilla)
Hi sandeep,
Present i am using codemirror in my web application, now i want to move to ACE, can you guide me how change this. Thank you in advance.
This is santosh
Post a Comment