From: Jürgen Spitzmüller Date: Mon, 28 Apr 2008 13:13:42 +0000 (+0000) Subject: * InsetBibtex.cpp: X-Git-Tag: 1.6.10~4966 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=951dfe70a7a426c519eb6bab2e7c5b399239e134;p=features.git * InsetBibtex.cpp: - some more tooltip information. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24535 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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; }