I have made a program where there are three textbox one for html one for css and one for java script so what my program does it that when the button is clicked it joins the text from all the textbox and the it loads data: text/html, + the code on webview
I assume that you are asking about Syntax Highlighting which process what’s the word or segment and highlights and give different colors. I created an extension to do like this before using Java-Prettify library of Google.