Austin: thanks; that does work. The problem is, as far as I can tell,
if you start with a blip that is already annotated all the way to the
end (e.g., there is an annotation on the last character), there is no
way to append text without expanding that ending annotation.
On Oct 8, 5:50 pm, "Austi
You can insert a space after the anchor text and only annotate the anchor
text just before the trailing. Quick sample code -
private void addAnchorLink(Blip blip, int startIndex, String url, String
anchorText) {
anchorText += " ";
TextView textView = blip.getDocument();
textView.inse
Thanks, I'll try appending a single newline, removing all annotations
from that character, and then appending the rest of the text.
On Oct 8, 2:00 pm, Tad Glines wrote:
> I think the wave OT will automatically expand annotations that extend
> to the end of the blip/document. You will probably ha
I think the wave OT will automatically expand annotations that extend
to the end of the blip/document. You will probably have to manually
un-expand any annotations that extend to the end of the text.
On Thu, Oct 8, 2009 at 5:35 AM, F. Andy Seidl
wrote:
>
> I'm having difficutlty appending text f
Actually, to add to my previous message - the append method states
that annotations extending to the end of a document should not be
stretched to include the newly appended text, and they may not.
However, if I _manually_ append new text, I end up picking up the
annotation that stretched to the en
This isn't all that helpful, but I see the same thing; generally if
the annotated content is the last information in the blip (although
that may be only because I've never tried to insert new content after
an annotation mid-blip). I assume that there's a trick that I'm
missing as well.
-Chris
On