D
D
Dmitry Logvinenko2013-12-17 17:02:53
Google Chrome
Dmitry Logvinenko, 2013-12-17 17:02:53

How to make syntax/editor highlight for textarea in Chrome?

There is an urgent need for syntax highlighting and simple sort-editing features for arbitrary textarea.
I explain the situation:
ec587d2e491b6c455fc1716bd0a99ed9.png
Here is such a hell (forgive me if someone recognized Joomla 1.5 and mod_html in this). Considering that there are about a dozen such modules (well, there is no such need and opportunity to do it differently in the foreseeable future), and html / css / js are mixed in them, it’s, frankly, not easy to understand the text without highlighting. Often, I just copy the code to NPP, and then return it back.
In this regard, the thought has been haunting me for a long time: is there (I didn’t find it myself) an extension for Chrome that would implement a simple editor, at least with highlighting and search replacement?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
maxaon, 2013-12-18
@maxaon

If you need code, I can recommend Ace Editor
habrahabr.ru/post/174987
stackoverflow.com/questions/6440439/how-do-i-make-...

S
sasha, 2013-12-17
@madmages

swoop I understand that in textarea it is impossible to shine syntax and other delights of the editor. this is done by divs and javascript (editor emulation or something like that)

O
ozoned, 2013-12-17
@ozoned

There is codemirror.net but it has extensions for browsers, in my opinion. So you have to "collective farm", or do, for example, a user script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question