That's correct. In that case the editor is responsible for deciding if the characters should be annotated and explicitly setting the annotation if yes.
On 22 June 2010 17:59, Joseph Gentle <[email protected]> wrote: > So, if I have a bolded line like this: > > <line /><?a "bold"="true" ?>Hello ... > > ... and I insert characters at the start of the line (before the 'H'), > those characters won't inherit the bold tag? > > -J > > On Tue, Jun 22, 2010 at 4:41 PM, Alex North <[email protected]> wrote: > >> 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]<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]<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.
