[email protected] wrote: > Author: rgheck > Date: Fri Dec 4 04:03:38 2009 > New Revision: 32318 > URL: http://www.lyx.org/trac/changeset/32318 > > Log: > This patch introduces an optional argument to Buffer::updateLabels(), so > as to allow us to call the routine when we are preparing for output and > so to do certain things we might not want to do every time. > > This is an abuse of updateLabels(), in a way, but updateLabels() long > ago became the general recurse-through-the-Buffer routine, and to > implement the sort of thing I want to do here in validate(), say, much > of the code in updateLabels()---in particular, the counter-update > code---would have to be duplicated. So I believe this is the best, and > easiest, way to go.
i would add the comment above to Buffer::updateLabels in Buffer.h pavel
