I am seeing the same thing.  This is a bug with the insertStyledText().  I
have filed a bug for it -
http://code.google.com/p/google-wave-resources/issues/detail?id=341

Thanks for reporting.

<http://code.google.com/p/google-wave-resources/issues/detail?id=341>Austin

On Thu, Oct 22, 2009 at 3:39 PM, Chris C. <yclept.ch...@gmail.com> wrote:

>
> Thanks - given that, I wonder if it's just that insertStyledText()
> isn't working. Unfortunately, appendStyledText() isn't the right
> operation for my needs, but I wonder if one works and the other
> doesn't.
>
> On Oct 22, 4:29 pm, Kriván Bálint <bal...@krivan.hu> wrote:
> > Hi!
> >
> > This is works for me:
> > blip.getDocument().appendStyledText(
> >         new StyledText("Some text in bold",
> >                 StyleType.BOLD));
> >
> > On okt. 22, 11:24, Srinivas Pinisetti <srinivas.pinise...@gmail.com>
> > wrote:
> >
> >
> >
> > > I am also having the same issue.
> >
> > > On Oct 22, 3:29 am, "Chris C." <yclept.ch...@gmail.com> wrote:
> >
> > > > I've got a robot running, and I was considering using StyledText as a
> > > > slightly more convenient means of boldfacing part of the output,
> since
> > > > I only need boldface and I wouldn't have to mess with start and end
> > > > points of an annotation. However, when using it, it seems to have no
> > > > effect. Am I doing it wrong, or does it not work?
> >
> > > > Here's the command I'm issuing: adjInsert is the 'adjusted insertion'
> > > > point for the new text (since the robot replaces multiple elements in
> > > > a single blip, I have to adjust for what's already been replaced),
> and
> > > > 'rep' is the robot's reply (the string being formatted with the
> > > > style):
> >
> > > > txt.insertStyledText(adjInsert, new StyledText(rep,StyleType.BOLD));
> >
> > > > I've also tried:
> >
> > > > StyledText styledRep = new StyledText(rep, StyleType.BOLD);
> >
> > > > and then using insertStyledText() to insert that StyledText object,
> > > > but neither seems to have an effect on the output. Thoughts? Did I
> > > > break it?
> >
> > > > Thanks,
> > > > Chris
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to