mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-05 17:09:56 +00:00
Whitespace, formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28948 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7ad28349ab
commit
ba92863f0a
@ -416,7 +416,8 @@ docstring InsetCitation:: toolTip(BufferView const & bv, int, int) const
|
|||||||
for (; i >= 0; --i)
|
for (; i >= 0; --i)
|
||||||
if (key_info[i] == ' ')
|
if (key_info[i] == ' ')
|
||||||
break;
|
break;
|
||||||
if (i < 0) { // no space found?
|
if (i < 0) {
|
||||||
|
// no space found
|
||||||
key_info = key_info.substr(0, maxwdth - 3) + "...";
|
key_info = key_info.substr(0, maxwdth - 3) + "...";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -424,7 +425,6 @@ docstring InsetCitation:: toolTip(BufferView const & bv, int, int) const
|
|||||||
newkey += "\n";
|
newkey += "\n";
|
||||||
newkey += key_info.substr(0, i);
|
newkey += key_info.substr(0, i);
|
||||||
key_info = " " + key_info.substr(i);
|
key_info = " " + key_info.substr(i);
|
||||||
//key_info = key_info.substr(0, maxtip - 3) + "...";
|
|
||||||
}
|
}
|
||||||
if (!newkey.empty())
|
if (!newkey.empty())
|
||||||
newkey += "\n";
|
newkey += "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user