> Author: rgheck > Date: Mon Dec 20 23:33:12 2010 > New Revision: 36976 > URL: http://www.lyx.org/trac/changeset/36976 > > Log: > Greyed out notes do produce output, which means that their counters need > to be treated as part of the document. For example, the footnote numbers > in LyX are wrong prior to this patch. > > This will also affect word and character count, but should not affect > anything else. If that seems wrong, we can either (a) explicitly exclude > notes from the word count or else (b) introduce > bool countWordsInInset() const; > and call that, instead. >
I guess the idea was that greyed out notes get the same status for instance as deleted text when change tracking is on. In that case, you don't want the counters to be treated as part of the document. That's probably why the grey color was very bright: it should reflect the fact that it shouldn't really exist ;). Vincent