I want to create a text editor where the user will be able to download files/add-ons that will highlight the code in their file.

I want it to be a file/add-on so that it is not hard coded into the thing and i can charge for them and so on...

How would be the best way to go about this? Would i need to use a richtextbox?