Inserted elements inherit annotations from the left, so yes the annotation extends. As a practical matter, this means that when typing in or at the end of an annotated region a client need not continually send the same annotations with every operation.
A. On 19 June 2010 06:16, svoid <[email protected]> wrote: > Assuming that I have the following document: > > <body><line/>some bold text</body> > > with the annotation: > (8,12) - style/fontWeight = 'bold' > > If I send a mutation as follows: > retain(12) > chars('x') > retain(6) > > Does this result in the annotation range being changed to (8,13) and > including the 'x' in the bold region? I guess another way to ask the > question is whether or not the end of the annotation boundary is > attached immediately following the 'd', or attached immediately > preceding the ' ' (space). > > Thanks, > Dan > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<wave-protocol%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
