Change or Set Some Text Colour inside a Text Area

advanced-prototyping

#1

I have user type some text inside a text area. But want to enable the user change the colour of some keyword in the text

For example: User can type something this

SELECT * FROM Products
WHERE Price BETWEEN 10 AND 20;

Set text colour for keyword like “SELECT” “WHERE” etc

Can this be done