Yes, I personally emailed the project admins offering to help a few weeks ago, received no response except from a regular forum poster I copied the email to, who recommended I try Codemirror. If you do port it to github I'd be a very willing contributor, have written an engine for Safari 3 and Codepress is still the more useful tool to me. There's a lot still to be said for a simple regex-powered syntax highlighter, and I haven't yet found a real-world use for Codemirror.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks yes (but not for long). Source code: no way.
It's true that I started out by forking EA (which never really worked for me), but since then, the complete application was refactored multiple times with the core pieces rewritten from scratch.
F.x. try to enter ?> in the middle of a PHP code block in EA. It won't have any effect (Codepress struggles with this as well, but normally catches up if you press enter once or twice), because EA uses a relatively simple regexp mechanism that is applied globally to the entire code. SP on the other hand actually has an idea of the current context and adapts its matching accordingly. Also, it is much less resource-hungry (mainly because it doesn't run lots of checks every 50ms whether the editor is in use or not)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-06-03
News on github or sourcepad? Sourcepad seems to ghost text when word wrapping with syntax highlighting (a bug that seems to have been inherited from editarea)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Haven't been back here in quite some time. I ended up rolling something verrrry simple that suited our needs as everything else I'd found was way overkill.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is this project officially dead? If so, I'm considering porting it to github and taking it over.
yep. it's well dead.
codemirror is probably the closest equivalent around:
http://marijn.haverbeke.nl/codemirror/
Yes, I personally emailed the project admins offering to help a few weeks ago, received no response except from a regular forum poster I copied the email to, who recommended I try Codemirror. If you do port it to github I'd be a very willing contributor, have written an engine for Safari 3 and Codepress is still the more useful tool to me. There's a lot still to be said for a simple regex-powered syntax highlighter, and I haven't yet found a real-world use for Codemirror.
Right on Clancy - I'll post a link to github w/ my port if I end up doing it. Thanks for the motivation :-D
Thanks for the info Adam. I'm going to look at codemirror, if it doesn't meet my needs I'll post the link to my github repo for this code.
NP
Aside from codemirror:
Bespin has an editor component
http://labs.mozilla.com/projects/bespin/
and there is MDK editor which I've done some work on.
http://www.mdk-photo.com/editor/
there are others as well; see:
http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
Any news on the GitHub? I'd be willing to contribute too!
I'm currently working on an editor with a similar scope. It is still quite basic, but you can check it out at http://sourcepad.org.
…and now with a working link:
: http://sourcepad.org
I call bs.
That is way to close to: http://www.cdolivet.com/editarea/editarea/exemples/exemple_full.html
By looks and the source code.
> That is way to close to: http://www.cdolivet.com/editarea/editarea/exemples/exemple_full.html
> By looks and the source code.
Looks yes (but not for long). Source code: no way.
It's true that I started out by forking EA (which never really worked for me), but since then, the complete application was refactored multiple times with the core pieces rewritten from scratch.
F.x. try to enter ?> in the middle of a PHP code block in EA. It won't have any effect (Codepress struggles with this as well, but normally catches up if you press enter once or twice), because EA uses a relatively simple regexp mechanism that is applied globally to the entire code. SP on the other hand actually has an idea of the current context and adapts its matching accordingly. Also, it is much less resource-hungry (mainly because it doesn't run lots of checks every 50ms whether the editor is in use or not)
News on github or sourcepad? Sourcepad seems to ghost text when word wrapping with syntax highlighting (a bug that seems to have been inherited from editarea)
Haven't been back here in quite some time. I ended up rolling something verrrry simple that suited our needs as everything else I'd found was way overkill.