On Sun, Nov 20, 2022 at 03:25:09PM +0100, Thibaut Cuvelier wrote: > commit f3862130cf687854dbff2df348f34659ca602a02 > Author: Thibaut Cuvelier <tcuvel...@lyx.org> > Date: Sun Nov 20 16:19:17 2022 +0100 > > Amend 48d9d01a: remove debug output > --- > src/insets/InsetIndex.cpp | 6 ------ > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp > index bd38cf5..f40ba03 100644 > --- a/src/insets/InsetIndex.cpp > +++ b/src/insets/InsetIndex.cpp > @@ -1723,12 +1723,6 @@ IndexNode* buildIndexTree(vector<IndexEntry>& entries) > // as children. > auto* index_root = new IndexNode{{}, {}}; > for (const IndexEntry& entry : entries) { > - std::cout << "Entry: " << std::endl; > - std::cout << entry.terms().empty() << std::endl; > - std::cout << entry.terms().size() << std::endl; > - for (const docstring& d : entry.terms()) { > - std::cout << "\"" << to_utf8(d) << "\"" << std::endl; > - } > insertIntoNode(entry, index_root); > } >
Ah thanks for catching that. I have been wanting to track down where the output was coming from. Just to check, you could keep the output and just guard it with LYX_INSET_INDEX_DEBUG if you preferred. I don't understand any of this stuff, so do whatever you prefer. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel