mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Count quotes in document statistics as well.
Currently any quote counts as a single character. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219697.html
This commit is contained in:
parent
16da5ef010
commit
63ff4f4431
@ -1021,4 +1021,11 @@ string InsetQuotes::contextMenuName() const
|
||||
return "context-quote";
|
||||
}
|
||||
|
||||
|
||||
pair<int, int> InsetQuotes::isWords() const
|
||||
{
|
||||
//one character from the statistics perspective
|
||||
return std::pair<int,int>(1, 0);
|
||||
}
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -173,6 +173,8 @@ public:
|
||||
|
||||
/// Returns the current quote type
|
||||
std::string getType() const;
|
||||
///
|
||||
std::pair<int, int> isWords() const override;
|
||||
|
||||
private:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user