mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* InsetBibtex.cpp:
- some more tooltip information. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24535 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b66a83ca8e
commit
951dfe70a7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user