Suggestion for syntax-colored editors

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu