spiriad Posted June 15, 2009 Share Posted June 15, 2009 Hello there,Is there any good online web based code (text) editor with syntax highlighting for different languages (C,C++,PHP, etc) and auto-completion .Or, with at least one of that options (better if both)? Seems that the results from gooogle aren't helping me so much.Thanks Link to comment Share on other sites More sharing options...
justsomeguy Posted June 15, 2009 Share Posted June 15, 2009 If you know how to use vi I guess there's this:http://gpl.internetconnection.net/vi/Why not just install one though? Link to comment Share on other sites More sharing options...
spiriad Posted June 15, 2009 Author Share Posted June 15, 2009 I use Vi(m), yes, but the example you've gave me doesn't have syntax highlighting, neither autocompletion ( I think I wont find this feature nowhere). Are there other suggestions ? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 15, 2009 Share Posted June 15, 2009 I strongly doubt you're going to find either syntax highlighting or auto-completion in a web editor. The data transfer and latency involved when the thing is online makes that pretty difficult. It's also going to be constantly re-doing the text area to add spans and things with different colors to do highlighting, so it's not going to be able to use a regular text area, and it might even lose focus or cursor position when it updates to do the highlighting (this already assumes that it's taken the time to figure out what color something needs to be highlighted, so you'll need to download all highlighters when the text editor starts).Basically, both syntax highlighting and auto-completion are extremely difficult to implement in a normal textarea element because in order to do either of those things the Javascript will need to be constantly changing the structure of the document, which is going to make editing it at the same time pretty difficult. Link to comment Share on other sites More sharing options...
pizzaguy Posted June 18, 2009 Share Posted June 18, 2009 https://bespin.mozilla.com/ <-- exactly what you need Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.