I need to edit some scripts from a web app, at the moment i'm using a plain textarea and it works. The main problem is that these scripts have indentations so i'd like to simply press TAB to control the indentation level when writing some new code and possibly automatically start next lines with the same indentation. In a normal textarea pressing TAB switches the focus to the next object.

I'm looking for something like tinyMCE but that is made specifically for scripts. The minimum required functionality is to handle the indentation level, other cool things would be syntax highlighting and hinting/completition but they're not really necessary.

closed as off-topic by ale, serenesat, jonsca Jun 1 '17 at 22:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking for us to recommend or find a Web Application are off-topic and out of scope, as they tend to attract opinionated answers and spam. However, your question may be on topic at Software Recommendations if you can rewrite it so that it meets their quality guidelines" – ale, serenesat, jonsca
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Like jsFiddle? – Alex Mar 30 '12 at 11:21
  • Yes, exactly like that "Javascript" frame. How can i get it? – Zmaster Mar 30 '12 at 12:30

Found it, CodeMirror is the library used by jsFiddle and it works very well. It supports many languages and has a lot of options like keymaps and markers. Awesome!

Not the answer you're looking for? Browse other questions tagged or ask your own question.