[haiku-3rdparty-dev] Re: Changing the color of a text sequence in a BTextView

  • From: Robert Stiehler <r.stiehler85@xxxxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Mon, 28 Nov 2011 17:52:33 +0100

No, i didn't. Thanks, i will test it!

regards,
Robert

2011/11/28 Rene Gollent <anevilyak@xxxxxxxxx>

> On Mon, Nov 28, 2011 at 11:47 AM, Robert Stiehler
> <r.stiehler85@xxxxxxxxxxxxxx> wrote:
> > The result of this code is that the complete text in the BTextView
> > "_txtMessages" become blue, but what i want is that just the "you> "
> becomes
> > blue. Knows someone what i do wrong?
>
> Did you call SetStylable(true); on that BTextView? If not, it will
> only support a single style and thus affect all text in there.
>
> Regards,
>
> Rene
>
>

Other related posts: