Hugo Mota
Hugo Mota

Reputation: 11547

coder textarea in javascript/jquery

I need a textarea that looks more like an programing environment, like notepad++. Basically, all I want is to insert TABs and keeps the cursor in the same indenting level as the previous line.

Any help on building my own would be greatly apreciated as well (my javascript/jquery skills are very basic).

thanks (:

Upvotes: 2

Views: 163

Answers (3)

Luis
Luis

Reputation: 1097

Code Mirror would be a great option, it's easy to use with your skills. You can also check this Wikipedia post for more information. http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors

Good luck ;)

Upvotes: 3

ShankarSangoli
ShankarSangoli

Reputation: 69905

Take a look at this link which will help you decide which editor to use based on your requirement. It has provided wide variety of JavaScript based editors with support for various browsers.

http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors

Upvotes: 1

Ivan Lazarevic
Ivan Lazarevic

Reputation: 371

You can try this plugin for TABs http://teddevito.com/demos/textarea.html

Upvotes: 0

Related Questions