Re: setting text color in Rich Edit

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

Derek,

That helps a lot for text already in the RichEdit. But lets pretend we have
a text file - or whatever not already richEdit - and want to colorize it as
we putStream or before we putStream?

Do you know a solution to that?

I suppose we could kludge it and inspect the data after streaming into the
RichEdit and colorize it then but it seems it would be faster to colorize as
we putStream.

Judith


On Tue, 10 Oct 2000 00:36:06 +1100, Derek Parnell <dparnell at BIGPOND.NET.AU>
wrote:


>Its undocumented but the setIndex() routine can be used to select text on
>RichEdit controls.
>
>eg..
>    -- Select characters 30 - 43 inclusive...
>    setIndex(RE, {30, 43})
>
>I should really update the docs on this one. blink
>
>----
>cheers,
>Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu