Well it's been shared with the team so i can only assume that it is something that has appeared lol :P
On Oct 12, 6:41 pm, Wooble <geoffsp...@gmail.com> wrote: > It works the same as python's range() builtin function. Your guess as > to whether it works the way it does by design or because of a horrible > off-by-one error in an early version of python that never got fixed so > as to either not break backward compatibility or to make it look like > a deliberate design decision is as good as mine. :) > > On Oct 11, 1:57 pm, Smola <callmesm...@gmail.com> wrote: > > > > > Ok, I must not understand the way Annotations work with Ranges. I > > changed my annotation range to go from 0,2 thinking that the 0th, 1st, > > and 2nd characters would get annotated. In other words, the first > > three characters. Isn't that how you'd expect it to work? So inside > > my question tags i put "hi?" and the question mark didn't get > > annotated. Again, the length of the text of this newly replaced > > document with just "hi?" had 4 characters instead of 3. So then I > > tried the range to from 1,3 and this time the 'h' in "hi?" was black > > and the other two characters were green. Still, 4 total characters > > found. > > > The only thing that worked was for me to make the range go from 0,3. > > That seems so counter-intuitive to me though since in all other > > languages the behavior would be different. However, this behavior > > does lead me to believe that the 4th hidden character is indeed some > > sort of marker for the annotation and that it comes at the END of the > > text rather than the beginning. > > > Any thoughts? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---