Suggestion for syntax-colored editors
- Posted by Tommy Carlier <tommy.carlier at pandora.be> May 18, 2004
- 505 views
I see syntax-coloring being used in MEditor, and in the IDE, and probably also in other apps. I have a little suggestion. Blitting bitmaps is faster than drawing text. Why not generate a large bitmap and draw all the standard keywords in their appropriate color on this bitmap, and then if you need to draw such a keyword, just blit it from the bitmap to the editor? Wouldn't this make the syntax coloring faster? -- tommy online: http://users.pandora.be/tommycarlier