Y
Hacker News
new
|
ask
|
show
|
jobs
by
gethly
184 days ago
FYI, IDEs and editors too don't use "textarea". Contenteditable essentially makes the web browser work like editor does.
1 comments
mg
184 days ago
Contenteditable plus the CSS Custom Highlight API (which highlights ranges instead of elements) might indeed allow for a good solution. But I have not yet seen an editor that does that.
link
hyperhello
184 days ago
I built a prototype that does work.
https://hypervariety.com/ScriptHighlighter/
link