Gregory Jefferis <jeffe...@gmail.com> writes: > It turns out that BufferList::setCurrentAuthor is not really the issue. > Rather it is because the default constructor for Changes includes an > authorid of 0, therefore assuming that the relevant author list has the > current author at position 0. There is no way for the Change object to know > which AuthorList this author id points to, and trying to do this would > generate some rather inefficient code.
It should be possible to create new changes with author for example -1, and have a way to map this when needed to the correct author. This way the authorlist does not need to be available everywhere in the code. JMarc