Main Menu

Syntax highlighting

Started by kevin, August 10, 2007, 07:07:46 AM

Previous topic - Next topic

kevin

   Syntax Highlighting

    Knocked this one up yesterday,  basically it loads a PlayBASIC source and display it like the IDE, you can scroll through it.   Took a bit long longer than expected due discovering an oddity with VM2 string engine, but once that was ironed out it pretty much came straight to life.  Works pretty well considered it's just straight PlayBASIC code.   Rendering text is the main bottle neck, every draw instance it's locking, rendering, unlocking the surface.    Could get rid of that but not sure it's worth tinkering with.   Since is just an experiment at the moment.