Re: Suggestion for syntax-colored editors

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

Kat wrote:
> > No, you don't. You just use bitmaps for the standard keywords. When
> > rendering
> > the text, you use the traditional method of drawing text for all the normal
> > text
> > (variables, comments, strings, ...), and only blit bitmaps for the standard
> > keywords. This way, you also have to switch text-color ( = create a new
> > Pen/Brush) a lot less.
> 
> then you cannot copy/paste the text, because it's text + pictures.

Like the editors (IDE/MEditor) are now, there is no text either: the visual part
of the editor is just a Pixmap. The actual text-data is in an underlying
sequence. This sequence is used to copy/paste the text. This underlying text
doesn't change with the new mechanism: it's just the method of RENDERING the text
that changes.

--
tommy online: http://users.pandora.be/tommycarlier

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

Search



Quick Links

User menu

Not signed in.

Misc Menu