Is there any good and logical ways to highlight code inside textarea via jQuery? If there is, please share.
No, there isn't. You can apply styles to the entire textarea, but not part of the text in it.
You would need something that works as a replacement for the textarea, here is a list of some.