I wrote this class a long time ago with some help from @JonB and maybe others. I tried to clean it up a little today. All it does is display Python source code, formatted in various styles. It can also hilite lines that contain a word. I am not trying to do anything tricky like using re etc.
This could be modified/extended a lot from what I have done. It's lacking in many ways, but still is a good starter if you need to show formatted source code in your app.
Anyway, it maybe useful to someone.
