The problem was this: in the __init__ of the text classes, we always add one
character, because we had some goofy stuff going on. So every time Archy
loaded, it was adding one character to the Text and Style arrays, meaning that
the end of the text was confused.
Removing this character made all the Style arrays much to small, which led to...
a couple small errors in RLE, which got resolved, which then broke...
loading AGAIN, but this time because of behaviors, because there was an addText
command which was trying to check an empty behavior array (which previously
would not have been empty, since it got initialized to that one-character).
But once that was fixed, everything was fine. |