I'm trying to colorize some specific words in the Ace editor (for example I want the word 'Hello' to be colored in red). I tried working with their 'highlight rules' (https://ace.c9.io/#nav=higlighter) but it doesn't seem to work.
I'm working with react and javascript by the way.
Can anyone suggest a solution or example?
Ace doesn't provide this feature by default, but you can using 'custom highlight rules' in ace editor.
I know that they have released this feature for customizing various new languages.
Ref:
https://cloud9-sdk.readme.io/docs/highlighting-rules
Related Stack Answer:
Want to highlight/change color of certain words in Ace Editor?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With