No chance! :laugh:
It works, because a lot of effort has been put into making sure it does work - there is some serious code going on behind this. This is not a subject for beginners, or that can be easily summarised into a tutorial.
For a better idea, start here:
CodeProject articles on Syntax Highlighting[
^]