mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
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. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36976 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
68aa0b5b91
commit
2b39534042
@ -65,13 +65,9 @@ private:
|
||||
DisplayType display() const;
|
||||
///
|
||||
bool noFontChange() const { return params_.type != InsetNoteParams::Note; }
|
||||
/*!
|
||||
* Is the content of this inset part of the output document?
|
||||
*
|
||||
* Note that Note insets are not considered part of the
|
||||
* document, even in their 'greyed out' incarnation.
|
||||
*/
|
||||
bool producesOutput() const { return false; }
|
||||
/// Is the content of this inset part of the output document?
|
||||
bool producesOutput() const
|
||||
{ return params_.type == InsetNoteParams::Greyedout; }
|
||||
///
|
||||
bool allowSpellCheck() const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user