From 951dfe70a7a426c519eb6bab2e7c5b399239e134 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 28 Apr 2008 13:13:42 +0000 Subject: [PATCH] * InsetBibtex.cpp: - some more tooltip information. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24535 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibtex.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index 200a3c5841..4394992e96 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -121,9 +121,11 @@ docstring InsetBibtex::toolTip(BufferView const & /*bv*/, int /*x*/, int /*y*/) } // Style-Options + bool toc = false; docstring style = getParam("options"); // maybe empty! and with bibtotoc docstring bibtotoc = from_ascii("bibtotoc"); if (prefixIs(style, bibtotoc)) { + toc = true; if (contains(style, char_type(','))) style = split(style, bibtotoc, char_type(',')); } @@ -135,6 +137,20 @@ docstring InsetBibtex::toolTip(BufferView const & /*bv*/, int /*x*/, int /*y*/) else tip += _("none"); + tip += _("\nLists: "); + docstring btprint = getParam("btprint"); + if (btprint == "btPrintAll") + tip += _("all references"); + else if (btprint == "btPrintNotCited") + tip += _("all uncited references"); + else + tip += _("all cited references"); + + if (toc) { + tip += ", "; + tip += _("included in TOC"); + } + return tip; } -- 2.39.2