StyledText stuff doesn't work in Java yet; there's an open issue on it in the tracker.
On Nov 11, 6:43 am, Vivek <vivekmunag...@gmail.com> wrote: > I recently started using wave API > > I wrote a code for editing the blip submitted by any participant. > > if (e.getType() == EventType.BLIP_SUBMITTED ) > { > Blip blip = e.getBlip(); > blip.getDocument().setStyle(StyleType.BOLD); > > //StyledText styledText = new StyledText(blip.getDocument > ().getText().toString()); > //styledText.addStyle(StyleType.BOLD); > // blip.getDocument().replaceStyledText(styledText); > > } > the event is being caught. But the text is not becoming bold. Am I > doing some thing wrong?? > First I tried to set style directly. Then tried to replace the text > with a styled text. Bith ways no result :( > > Please help!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---